mirror of
https://github.com/simple-icons/simple-icons.git
synced 2025-01-05 01:20:39 +02:00
No additional labeling nor project assigning for release pull requests (#11153)
This commit is contained in:
parent
dc86f476b1
commit
858ad8c1a6
11
.github/workflows/add-labels-priority.yml
vendored
11
.github/workflows/add-labels-priority.yml
vendored
@ -6,7 +6,9 @@ on:
|
||||
jobs:
|
||||
triage:
|
||||
runs-on: ubuntu-latest
|
||||
if: github.event.action == 'opened'
|
||||
if: |
|
||||
github.event.action == 'opened' &&
|
||||
github.event.pull_request.base.ref != 'master'
|
||||
steps:
|
||||
- uses: actions/create-github-app-token@v1
|
||||
id: app-token
|
||||
@ -20,7 +22,9 @@ jobs:
|
||||
assign-to-project:
|
||||
runs-on: ubuntu-latest
|
||||
name: Assign to Project
|
||||
if: github.event.action == 'opened'
|
||||
if: |
|
||||
github.event.action == 'opened' &&
|
||||
github.event.pull_request.base.ref != 'master'
|
||||
needs: triage
|
||||
steps:
|
||||
- uses: actions/create-github-app-token@v1
|
||||
@ -134,7 +138,8 @@ jobs:
|
||||
name: Unassign from Project
|
||||
if: |
|
||||
github.event.action != 'opened' &&
|
||||
github.event.pull_request.merged == false
|
||||
github.event.pull_request.merged == false &&
|
||||
github.event.pull_request.base.ref != 'master'
|
||||
steps:
|
||||
- uses: actions/create-github-app-token@v1
|
||||
id: app-token
|
||||
|
Loading…
Reference in New Issue
Block a user