File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 11name : Comment preview environment URL
22
33on :
4- # pull_request_target を使うにあたって https://securitylab.github.com/research/github-actions-preventing-pwn-requests/ の一読を推奨
5- pull_request_target :
4+ pull_request :
65 types :
76 - opened
87
Original file line number Diff line number Diff line change 11name : Preview
22
33on :
4- # pull_request_target を使うにあたって https://securitylab.github.com/research/github-actions-preventing-pwn-requests/ の一読を推奨
5- pull_request_target :
4+ pull_request :
65
76permissions :
87 packages : write
1615 run : echo "PR_NUMBER=${{ github.event.number }}" >> $GITHUB_ENV
1716
1817 - uses : actions/checkout@v6
19- with :
20- ref : ${{ github.event.pull_request.head.sha }}
21- persist-credentials : false
2218 - run : echo "APP_VERSION=preview-${{ env.PR_NUMBER }}" >> $GITHUB_ENV
2319 - run : echo "APP_REVISION=$(git rev-parse --short HEAD)" >> $GITHUB_ENV
2420
You can’t perform that action at this time.
0 commit comments