File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 44 pull_request :
55 types : [labeled, unlabeled, closed]
66
7+ permissions : {}
8+
79jobs :
810 manage-review-app :
911 runs-on : ubuntu-latest
@@ -17,11 +19,13 @@ jobs:
1719 (github.event.action == 'closed' && contains(github.event.pull_request.labels.*.name, 'review-app'))
1820 steps :
1921 - name : Checkout code
20- uses : actions/checkout@v4
22+ uses : actions/checkout@34e114876b0b11c390a56381ad16ebd13914f8d5 # v4
23+ with :
24+ persist-credentials : false
2125
2226 - name : Check if user is an Ably organization member
2327 if : github.event.action == 'labeled' && github.event.label.name == 'review-app'
24- uses : actions/github-script@v7
28+ uses : actions/github-script@f28e40c7f34bde8b3046d885e986cb6290c5673b # v7
2529 with :
2630 github-token : ${{ secrets.ABLY_ORG_TOKEN }}
2731 script : |
5660 }
5761
5862 - name : Manage Heroku Review App
59- uses : fastruby/manage-heroku-review-app@v1.3
63+ uses : fastruby/manage-heroku-review-app@9fa49f0320460f278c3687bc348dd0cbb18555dc # v1.3
6064 with :
6165 action : ${{ (github.event.action == 'labeled' && github.event.label.name == 'review-app' && 'create') || 'destroy' }}
6266 env :
You can’t perform that action at this time.
0 commit comments