Update build.yml #15
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Build | |
on: | |
workflow_dispatch: | |
issues: | |
types: | |
- opened | |
push: | |
branches: [ "main" ] | |
pull_request: | |
branches: [ "main" ] | |
permissions: write-all | |
jobs: | |
build: | |
name: 'Xem quá trình' | |
if: github.repository == 'Zelooooo/OS' && github.ref == 'refs/heads/main' | |
runs-on: ubuntu-latest | |
steps: | |
- name: Load data | |
uses: actions/checkout@v3 | |
- uses: lee-dohm/close-matching-issues@v2 | |
with: | |
query: 'label:bug' | |
token: ${{ secrets.GITHUB_TOKEN }} | |
- name: Auto Close Org Issues | |
uses: mheap/auto-close-org-issues-action@main | |
with: | |
token: ${{ secrets.PAT }} | |
org: 'Test: xxxx' | |
message: Thanks for raising an issue! For YOUR_ORG_NAME employees, we track issues in the ABC Jira project | |
keep_open: team-a,team-b |