Fix autocloser workflow (#9848)

This commit is contained in:
Adam Rusted 2023-11-12 21:37:10 +00:00 committed by GitHub
parent 54b2330b7c
commit f74f0e6b99
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -8,6 +8,8 @@ jobs:
run: run:
runs-on: ubuntu-latest runs-on: ubuntu-latest
steps: steps:
- name: Checkout
uses: actions/checkout@v4
- id: match-title - id: match-title
name: Match title name: Match title
# if the title contains the word Java (case insensitive) # if the title contains the word Java (case insensitive)
@ -22,6 +24,8 @@ jobs:
uses: ./.github/actions/get-labels uses: ./.github/actions/get-labels
with: with:
issue_number: ${{ github.event.issue.number }} issue_number: ${{ github.event.issue.number }}
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
# if the issue is labeled as a 'new icon' and it matches Java, we # if the issue is labeled as a 'new icon' and it matches Java, we
# - add a comment referring to the removal request # - add a comment referring to the removal request