|
9 | 9 | runs-on: ubuntu-latest |
10 | 10 | if: ${{ github.event.action == 'opened' || github.event.action == 'transferred' }} |
11 | 11 | steps: |
12 | | - - uses: actions/checkout@v4 |
| 12 | + - uses: actions/checkout@v5 |
13 | 13 | # Checks if user is on the 'website-write' team, else halts workflow |
14 | 14 | - name: Check Team Membership |
15 | 15 | id: check-team-membership |
|
20 | 20 | const username = '${{ github.actor }}' |
21 | 21 | const team = 'website-write' |
22 | 22 | const script = require('./github-actions/utils/check-team-membership.js') |
23 | | - return script(github, username, team) |
| 23 | + return script(github, context, username, team) |
24 | 24 | |
25 | 25 | # If user is team member: checks if the issue has required labels |
26 | 26 | - if: ${{ steps.check-team-membership.outputs.result == 'true' }} |
|
50 | 50 | runs-on: ubuntu-latest |
51 | 51 | if: ${{ github.event.action == 'assigned' }} |
52 | 52 | steps: |
53 | | - - uses: actions/checkout@v4 |
| 53 | + - uses: actions/checkout@v5 |
54 | 54 | # Checks if the issue has the required roles (front end, back end/devOps, design, or user research) |
55 | 55 | - name: Check Labels Prelim |
56 | 56 | uses: actions/github-script@v7 |
|
79 | 79 | runs-on: ubuntu-latest |
80 | 80 | if: "${{ github.event.action == 'labeled' && github.event.label.name == 'Feature: Feature Branch' }}" |
81 | 81 | steps: |
82 | | - - uses: actions/checkout@v4 |
| 82 | + - uses: actions/checkout@v5 |
83 | 83 | - name: Add feature branch comment |
84 | 84 | uses: actions/github-script@v7 |
85 | 85 | with: |
|
91 | 91 | runs-on: ubuntu-latest |
92 | 92 | if: "${{ github.event.action == 'unlabeled' && github.event.label.name == 'Feature: Feature Branch' }}" |
93 | 93 | steps: |
94 | | - - uses: actions/checkout@v4 |
| 94 | + - uses: actions/checkout@v5 |
95 | 95 | - name: Hide feature branch comment |
96 | 96 | uses: actions/github-script@v7 |
97 | 97 | with: |
|
0 commit comments