mirror of
https://github.com/immich-app/immich.git
synced 2025-11-02 18:47:07 -05:00
fix: don't use app for final close-duplicates request (#23143)
This commit is contained in:
parent
76f5036026
commit
9bb2fc238a
10
.github/workflows/close-duplicates.yml
vendored
10
.github/workflows/close-duplicates.yml
vendored
@ -54,16 +54,10 @@ jobs:
|
|||||||
issues: write
|
issues: write
|
||||||
discussions: write
|
discussions: write
|
||||||
steps:
|
steps:
|
||||||
- id: token
|
|
||||||
uses: immich-app/devtools/actions/create-workflow-token@da177fa133657503ddb7503f8ba53dccefec5da1 # create-workflow-token-action-v1.0.0
|
|
||||||
with:
|
|
||||||
app-id: ${{ secrets.PUSH_O_MATIC_APP_ID }}
|
|
||||||
private-key: ${{ secrets.PUSH_O_MATIC_APP_KEY }}
|
|
||||||
|
|
||||||
- name: Close issue
|
- name: Close issue
|
||||||
if: ${{ github.event_name == 'issues' }}
|
if: ${{ github.event_name == 'issues' }}
|
||||||
env:
|
env:
|
||||||
GH_TOKEN: ${{ steps.token.outputs.token }}
|
GH_TOKEN: ${{ github.token }}
|
||||||
NODE_ID: ${{ github.event.issue.node_id }}
|
NODE_ID: ${{ github.event.issue.node_id }}
|
||||||
run: |
|
run: |
|
||||||
gh api graphql \
|
gh api graphql \
|
||||||
@ -89,7 +83,7 @@ jobs:
|
|||||||
- name: Close discussion
|
- name: Close discussion
|
||||||
if: ${{ github.event_name == 'discussion' && github.event.discussion.category.name == 'Feature Request' }}
|
if: ${{ github.event_name == 'discussion' && github.event.discussion.category.name == 'Feature Request' }}
|
||||||
env:
|
env:
|
||||||
GH_TOKEN: ${{ steps.token.outputs.token }}
|
GH_TOKEN: ${{ github.token }}
|
||||||
NODE_ID: ${{ github.event.discussion.node_id }}
|
NODE_ID: ${{ github.event.discussion.node_id }}
|
||||||
run: |
|
run: |
|
||||||
gh api graphql \
|
gh api graphql \
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user