We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 47c032c commit 814133cCopy full SHA for 814133c
.github/workflows/backport.yml
@@ -48,7 +48,14 @@ jobs:
48
49
git checkout -b $branch
50
git cherry-pick $commit
51
+
52
+ # note this push will fail if the backport contains any workflow files
53
+ # because secrets.GITHUB_TOKEN doesn't have this permission
54
+ # supporting this would require another access token with content write
55
+ # and workflow write permissions
56
+ # so for now at least PRs that update workflow files need to be backported manually
57
git push --set-upstream origin $branch
58
59
gh pr create --title "[$GITHUB_REF_NAME] $title" \
60
--body "Clean cherry-pick of #$NUMBER to the \`$GITHUB_REF_NAME\` branch." \
61
--base $GITHUB_REF_NAME
0 commit comments