Skip to content

Commit

Permalink
Merge pull request #58 from rancher/replace_labeler
Browse files Browse the repository at this point in the history
Replace 3rd party action with native CLI
  • Loading branch information
mallardduck authored Aug 26, 2024
2 parents c831086 + b26b6bd commit 676b8ea
Showing 1 changed file with 11 additions and 13 deletions.
24 changes: 11 additions & 13 deletions .github/workflows/label-all-new-issues.yaml
Original file line number Diff line number Diff line change
@@ -1,22 +1,20 @@
# This workflow uses actions that are not certified by GitHub.
# They are provided by a third-party and are governed by
# separate terms of service, privacy policy, and support
# documentation.

name: Label issues
name: Label issue
on:
issues:
types:
- opened
- reopened

permissions:
issues: write

jobs:
label_issues:
runs-on: ubuntu-latest
permissions:
issues: write
steps:
- name: Label issues
uses: andymckay/labeler@e6c4322d0397f3240f0e7e30a33b5c5df2d39e90
with:
add-labels: "team/observability&backup"
repo-token: ${{ secrets.GITHUB_TOKEN }}
- name: Label issue
id: run
run: gh issue edit -R ${GITHUB_REPOSITORY} --add-label ${LABEL} ${{ github.event.issue.number }}
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
LABEL: "team/observability&backup"

0 comments on commit 676b8ea

Please sign in to comment.