File tree Expand file tree Collapse file tree 1 file changed +2
-3
lines changed Expand file tree Collapse file tree 1 file changed +2
-3
lines changed Original file line number Diff line number Diff line change 26
26
id: flags
27
27
run: |
28
28
dependabot_dir="$\{{ steps.metadata.outputs.directory }} "
29
- if [[ "$dependabot_dir" == "/" ]]; then
29
+ if [[ "$dependabot_dir" == "/" || "$dependabot_dir" == "/ {{ releaseBranch }} " ]]; then
30
30
echo "workspace=-iwr" >> $GITHUB_OUTPUT
31
31
else
32
32
# strip leading slash from directory so it works as a
64
64
run: |
65
65
git commit -am "$\{{ steps.apply.outputs.message }} "
66
66
git push
67
-
67
+
68
68
# If the previous step failed, then reset the commit and remove any workflow changes
69
69
# and attempt to commit and push again. This is helpful because we will have a commit
70
70
# with the correct prefix that we can then --amend with @npmcli/stafftools later.
98
98
echo "This PR has a breaking change. Run 'npx -p @npmcli/stafftools gh template-oss-fix'"
99
99
echo "for more information on how to fix this with a BREAKING CHANGE footer."
100
100
exit 1
101
-
You can’t perform that action at this time.
0 commit comments