mirror of
https://github.com/Mibew/simple-icons.git
synced 2025-05-02 09:06:43 +03:00
Update Workflows to reflect new Labels (#10026)
This commit is contained in:
parent
31f63b171d
commit
909e1ca877
9
.github/labeler.yml
vendored
9
.github/labeler.yml
vendored
@ -1,6 +1,13 @@
|
|||||||
new icon:
|
new icon:
|
||||||
- any: [icons/*.svg]
|
- any: [icons/*.svg]
|
||||||
status: added
|
status: added
|
||||||
icon outdated:
|
update icon/data:
|
||||||
- any: [icons/*.svg]
|
- any: [icons/*.svg]
|
||||||
status: modified
|
status: modified
|
||||||
|
docs:
|
||||||
|
- any: ['*.md']
|
||||||
|
status: modified
|
||||||
|
meta:
|
||||||
|
- any: ['.github/*', 'scripts/*', 'tests/*', '*']
|
||||||
|
- all: ['!*.md', '!icons/*.svg', '!_data/*', '!package.json']
|
||||||
|
status: modified
|
||||||
|
4
.github/workflows/add-labels-priority.yml
vendored
4
.github/workflows/add-labels-priority.yml
vendored
@ -54,9 +54,9 @@ jobs:
|
|||||||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||||
|
|
||||||
- id: priority-1
|
- id: priority-1
|
||||||
name: Assign `icon outdated` pull requests to "Priority 1"
|
name: Assign `update icon/data` pull requests to "Priority 1"
|
||||||
uses: srggrs/assign-one-project-github-action@1.3.1
|
uses: srggrs/assign-one-project-github-action@1.3.1
|
||||||
if: contains(steps.get-labels.outputs.labels, 'icon outdated')
|
if: contains(steps.get-labels.outputs.labels, 'update icon/data')
|
||||||
with:
|
with:
|
||||||
project: https://github.com/orgs/simple-icons/projects/2
|
project: https://github.com/orgs/simple-icons/projects/2
|
||||||
column_name: Priority 1
|
column_name: Priority 1
|
||||||
|
6
.github/workflows/autoclose-issues.yml
vendored
6
.github/workflows/autoclose-issues.yml
vendored
@ -10,8 +10,8 @@ jobs:
|
|||||||
steps:
|
steps:
|
||||||
- name: Checkout
|
- name: Checkout
|
||||||
uses: actions/checkout@v4
|
uses: actions/checkout@v4
|
||||||
- id: match-title
|
- id: match-java
|
||||||
name: Match title
|
name: Match Java
|
||||||
# if the title contains the word Java (case insensitive)
|
# if the title contains the word Java (case insensitive)
|
||||||
# we make sure that this word is the end of the string or is followed by a space character (ex. we do not want to match javascript)
|
# we make sure that this word is the end of the string or is followed by a space character (ex. we do not want to match javascript)
|
||||||
# we make sure that this word is the beginning of the string or is preceded by a space character (ex. we do not want to match foojava)
|
# we make sure that this word is the beginning of the string or is preceded by a space character (ex. we do not want to match foojava)
|
||||||
@ -33,7 +33,7 @@ jobs:
|
|||||||
# - we close the issue
|
# - we close the issue
|
||||||
- name: Close the issue
|
- name: Close the issue
|
||||||
if: |
|
if: |
|
||||||
steps.match-title.outputs.match == 'true' &&
|
steps.match-java.outputs.match == 'true' &&
|
||||||
contains(steps.get-labels.outputs.labels, 'new icon')
|
contains(steps.get-labels.outputs.labels, 'new icon')
|
||||||
uses: actions/github-script@v6
|
uses: actions/github-script@v6
|
||||||
with:
|
with:
|
||||||
|
2
.github/workflows/potential-duplicates.yml
vendored
2
.github/workflows/potential-duplicates.yml
vendored
@ -10,7 +10,7 @@ jobs:
|
|||||||
- uses: wow-actions/potential-duplicates@v1
|
- uses: wow-actions/potential-duplicates@v1
|
||||||
with:
|
with:
|
||||||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||||
label: potential duplicate
|
label: duplicate
|
||||||
exclude: |
|
exclude: |
|
||||||
adding
|
adding
|
||||||
add
|
add
|
||||||
|
7
.github/workflows/remove-labels.yml
vendored
7
.github/workflows/remove-labels.yml
vendored
@ -17,13 +17,14 @@ jobs:
|
|||||||
with:
|
with:
|
||||||
token: ${{ secrets.GITHUB_TOKEN }}
|
token: ${{ secrets.GITHUB_TOKEN }}
|
||||||
labels: |
|
labels: |
|
||||||
|
assessing
|
||||||
awaiting reply
|
awaiting reply
|
||||||
changes requested
|
|
||||||
duplicate
|
duplicate
|
||||||
in discussion
|
in discussion
|
||||||
invalid
|
invalid
|
||||||
out of scope
|
out of scope
|
||||||
pending
|
pending
|
||||||
|
permission required
|
||||||
won't add
|
won't add
|
||||||
remove-closed-pr-labels:
|
remove-closed-pr-labels:
|
||||||
name: Remove closed pull request labels
|
name: Remove closed pull request labels
|
||||||
@ -36,6 +37,7 @@ jobs:
|
|||||||
labels: |
|
labels: |
|
||||||
in discussion
|
in discussion
|
||||||
pending
|
pending
|
||||||
|
assessing
|
||||||
remove-closed-issue-labels:
|
remove-closed-issue-labels:
|
||||||
name: Remove closed issue labels
|
name: Remove closed issue labels
|
||||||
if: github.event.issue.state == 'closed'
|
if: github.event.issue.state == 'closed'
|
||||||
@ -47,5 +49,4 @@ jobs:
|
|||||||
labels: |
|
labels: |
|
||||||
in discussion
|
in discussion
|
||||||
pending
|
pending
|
||||||
tracking
|
assessing
|
||||||
help wanted
|
|
||||||
|
Loading…
Reference in New Issue
Block a user