2023-09-28 15:26:04 +00:00
|
|
|
name: Issue Opened
|
|
|
|
|
|
|
|
on:
|
|
|
|
issues:
|
|
|
|
types:
|
|
|
|
- opened
|
|
|
|
|
|
|
|
permissions: {}
|
|
|
|
|
|
|
|
jobs:
|
|
|
|
add-to-issue-triage:
|
|
|
|
if: ${{ contains(github.event.issue.labels.*.name, 'bug :beetle:') }}
|
|
|
|
runs-on: ubuntu-latest
|
|
|
|
steps:
|
|
|
|
- name: Generate GitHub App token
|
|
|
|
uses: electron/github-app-auth-action@384fd19694fe7b6dcc9a684746c6976ad78228ae # v1.1.1
|
|
|
|
id: generate-token
|
|
|
|
with:
|
|
|
|
creds: ${{ secrets.ISSUE_TRIAGE_GH_APP_CREDS }}
|
|
|
|
org: electron
|
|
|
|
- name: Add to Issue Triage
|
2024-02-14 10:13:03 +00:00
|
|
|
uses: dsanders11/project-actions/add-item@82e99438bd44a14ad18d92d036dbc25cbfb9a8c4 # v1.2.0
|
2023-09-28 15:26:04 +00:00
|
|
|
with:
|
|
|
|
field: Reporter
|
|
|
|
field-value: ${{ github.event.issue.user.login }}
|
|
|
|
project-number: 90
|
|
|
|
token: ${{ steps.generate-token.outputs.token }}
|