diff --git a/.github/labeler.yml b/.github/labeler.yml index 8b7031942..636ae42be 100644 --- a/.github/labeler.yml +++ b/.github/labeler.yml @@ -1,6 +1,13 @@ new icon: - any: [icons/*.svg] status: added -icon outdated: +update icon/data: - any: [icons/*.svg] status: modified +docs: + - any: ['*.md'] + status: modified +meta: + - any: ['.github/*', 'scripts/*', 'tests/*', '*'] + - all: ['!*.md', '!icons/*.svg', '!_data/*', '!package.json'] + status: modified diff --git a/.github/workflows/add-labels-priority.yml b/.github/workflows/add-labels-priority.yml index 57edf2f61..28be78443 100644 --- a/.github/workflows/add-labels-priority.yml +++ b/.github/workflows/add-labels-priority.yml @@ -54,9 +54,9 @@ jobs: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} - 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 - if: contains(steps.get-labels.outputs.labels, 'icon outdated') + if: contains(steps.get-labels.outputs.labels, 'update icon/data') with: project: https://github.com/orgs/simple-icons/projects/2 column_name: Priority 1 diff --git a/.github/workflows/autoclose-issues.yml b/.github/workflows/autoclose-issues.yml index 0be2547f2..ae739a8ec 100644 --- a/.github/workflows/autoclose-issues.yml +++ b/.github/workflows/autoclose-issues.yml @@ -10,8 +10,8 @@ jobs: steps: - name: Checkout uses: actions/checkout@v4 - - id: match-title - name: Match title + - id: match-java + name: Match Java # 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 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 - name: Close the issue if: | - steps.match-title.outputs.match == 'true' && + steps.match-java.outputs.match == 'true' && contains(steps.get-labels.outputs.labels, 'new icon') uses: actions/github-script@v6 with: diff --git a/.github/workflows/potential-duplicates.yml b/.github/workflows/potential-duplicates.yml index 3b00645af..e0a0995d4 100644 --- a/.github/workflows/potential-duplicates.yml +++ b/.github/workflows/potential-duplicates.yml @@ -10,7 +10,7 @@ jobs: - uses: wow-actions/potential-duplicates@v1 with: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} - label: potential duplicate + label: duplicate exclude: | adding add diff --git a/.github/workflows/remove-labels.yml b/.github/workflows/remove-labels.yml index 2b265b86a..04b693da4 100644 --- a/.github/workflows/remove-labels.yml +++ b/.github/workflows/remove-labels.yml @@ -17,13 +17,14 @@ jobs: with: token: ${{ secrets.GITHUB_TOKEN }} labels: | + assessing awaiting reply - changes requested duplicate in discussion invalid out of scope pending + permission required won't add remove-closed-pr-labels: name: Remove closed pull request labels @@ -36,6 +37,7 @@ jobs: labels: | in discussion pending + assessing remove-closed-issue-labels: name: Remove closed issue labels if: github.event.issue.state == 'closed' @@ -47,5 +49,4 @@ jobs: labels: | in discussion pending - tracking - help wanted + assessing