Skip to content

Commit

Permalink
Update set-pr-labels.yaml
Browse files Browse the repository at this point in the history
  • Loading branch information
t-will-gillis authored Jun 16, 2023
1 parent 626b60b commit 014271f
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions .github/workflows/set-pr-labels.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@ on:
branches:
- 'gh-pages'
- 'feature-homepage-launch'
- 'check-version-updates-4831'

jobs:
generate-labels-artifact:
Expand All @@ -17,17 +16,17 @@ jobs:
PR_NUMBER: ${{ github.event.number }}
SCRIPT_PATH: './github-actions/trigger-pr/set-pr-labels.js'
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v2
- id: parse-pr-body
name: 'Parse the pull request body for all linked issues'
uses: actions/github-script@v6
uses: actions/github-script@v5
with:
script: |
const { listIssuesFromPRBody } = require('${{ env.SCRIPT_PATH }}');
return listIssuesFromPRBody({ context, core });
- id: compile-labels
name: 'Compile labels from linked issues'
uses: actions/github-script@v6
uses: actions/github-script@v5
with:
script: |
const { listLabelsFromIssues } = require('${{ env.SCRIPT_PATH }}');
Expand Down

0 comments on commit 014271f

Please sign in to comment.