mirror of
https://github.com/paperless-ngx/paperless-ngx.git
synced 2025-05-01 11:19:32 -05:00
Fix project automations failing on PRs from forks
This commit is contained in:
parent
92d55abc5b
commit
7bceb6817b
6
.github/workflows/project-actions.yml
vendored
6
.github/workflows/project-actions.yml
vendored
@ -24,7 +24,7 @@ jobs:
|
|||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
if: github.event_name == 'issues' && (github.event.action == 'opened' || github.event.action == 'reopened')
|
if: github.event_name == 'issues' && (github.event.action == 'opened' || github.event.action == 'reopened')
|
||||||
steps:
|
steps:
|
||||||
- name: Move issue to ${{ env.todo }}
|
- name: Set issue status to ${{ env.todo }}
|
||||||
uses: leonsteinhaeuser/project-beta-automations@v1.2.1
|
uses: leonsteinhaeuser/project-beta-automations@v1.2.1
|
||||||
with:
|
with:
|
||||||
gh_token: ${{ secrets.GH_TOKEN }}
|
gh_token: ${{ secrets.GH_TOKEN }}
|
||||||
@ -35,9 +35,9 @@ jobs:
|
|||||||
pr_opened_or_reopened:
|
pr_opened_or_reopened:
|
||||||
name: pr_opened_or_reopened
|
name: pr_opened_or_reopened
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
if: github.event_name == 'pull_request' && (github.event.action == 'opened' || github.event.action == 'reopened')
|
if: github.event_name == 'pull_request_target' && (github.event.action == 'opened' || github.event.action == 'reopened')
|
||||||
steps:
|
steps:
|
||||||
- name: Move PR to ${{ env.in_progress }}
|
- name: Set PR status to ${{ env.in_progress }}
|
||||||
uses: leonsteinhaeuser/project-beta-automations@v1.2.1
|
uses: leonsteinhaeuser/project-beta-automations@v1.2.1
|
||||||
with:
|
with:
|
||||||
gh_token: ${{ secrets.GH_TOKEN }}
|
gh_token: ${{ secrets.GH_TOKEN }}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user