Skip to content

Update build.yml

Update build.yml #14

Workflow file for this run

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: Automatically close issues that don't follow the issue template
uses: lucasbento/auto-close-issues@v1.0.2
with:
github-token: ${{ secrets.GITHUB_TOKEN }}
issue-close-message: "@${issue.user.login}: hello! :wave:\n\nThis issue is being automatically closed because it does not follow the issue template." # optional property
closed-issues-label: "🙁 Not following issue template" # optional property