change name of the permission to be more explicit #1874
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Ask preview removal for a given PR | |
on: | |
pull_request: | |
types: [closed] | |
jobs: | |
deploy: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Save PR number | |
run: | | |
mkdir PR | |
echo ${{ github.event.number }} > ./PR/PR_NUMBER | |
- uses: actions/upload-artifact@v3 | |
with: | |
name: PR | |
path: PR/ |