You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
chore: run ci for external forks by commit sha (#9306)
* chore: run ci for external forks by commit sha
* restrict access
* Update .github/workflows/run-ci-for-external-forks.yml
Co-authored-by: Pete Bacon Darwin <[email protected]>
---------
Co-authored-by: Dario Piotrowicz <[email protected]>
Co-authored-by: Pete Bacon Darwin <[email protected]>
gh pr create --head run-ci-on-behalf-of-${{ inputs.pr-number }} --draft --label "e2e" --title "Run CI on behalf of #${{ inputs.pr-number }}" --body "This PR is created to run CI on behalf of \#${{ inputs.pr-number }}. It can be closed after the CI run is complete."
59
+
gh pr create \
60
+
--head "run-ci-on-behalf-of-$PR_NUM" \
61
+
--draft \
62
+
--label "e2e" \
63
+
--title "$TITLE" \
64
+
--body "$BODY"
51
65
env:
52
-
GH_TOKEN: ${{ secrets.GH_ACCESS_TOKEN }}
66
+
GH_TOKEN: ${{ github.token }}
67
+
PR_NUM: ${{ inputs.pr-number }}
68
+
TITLE: "Run CI on behalf of #${{ inputs.pr-number }} @${{ inputs.commit-sha }}"
69
+
BODY: "This PR runs CI on behalf of #${{ inputs.pr-number }} at commit ${{ inputs.commit-sha }}. It can be closed after the CI run is complete."
0 commit comments