Skip to content

Commit

Permalink
Merge pull request #33 from dfinity/use-internal-action-to-add-labels
Browse files Browse the repository at this point in the history
replace action to add labels
  • Loading branch information
cgundy authored Oct 30, 2023
2 parents d67996b + c4ac095 commit ff63af4
Showing 1 changed file with 8 additions and 2 deletions.
10 changes: 8 additions & 2 deletions .github/workflows/check_cla.yml
Original file line number Diff line number Diff line change
Expand Up @@ -85,10 +85,16 @@ jobs:
— The DFINITY Foundation"

- name: Add Label
uses: actions-ecosystem/action-add-labels@v1
uses: actions/github-script@v6
if: ${{ steps.accepts_external_contrib.outputs.accepts_contrib != 'false' }}
with:
labels: external-contributor
script: |
github.rest.issues.addLabels({
issue_number: context.issue.number,
owner: context.repo.owner,
repo: context.repo.repo,
labels: ["external-contributor"]
})
- name: Checkout
uses: actions/checkout@v3
Expand Down

0 comments on commit ff63af4

Please sign in to comment.