1
0
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:
Álvaro Mondéjar Rubio 2024-06-09 12:35:34 +02:00 committed by GitHub
parent dc86f476b1
commit 858ad8c1a6
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -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