From ba3837579367e473370ff826778b3734fba83ffc Mon Sep 17 00:00:00 2001 From: cytopia Date: Wed, 23 Feb 2022 11:47:59 +0100 Subject: [PATCH 1/2] Fix nightly workflow --- .github/workflows/nightly.yml | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/.github/workflows/nightly.yml b/.github/workflows/nightly.yml index 499abf1..308a58d 100644 --- a/.github/workflows/nightly.yml +++ b/.github/workflows/nightly.yml @@ -12,8 +12,7 @@ name: nightly on: # Runs daily schedule: - - cron: "*/10 * * * *" - #- cron: '0 0 * * *' + - cron: '0 0 * * *' ### From fb9005a271a3b5bb32578575fa2747f1a2b4fda0 Mon Sep 17 00:00:00 2001 From: cytopia Date: Wed, 23 Feb 2022 11:48:12 +0100 Subject: [PATCH 2/2] Add label bot --- .github/labels.yml | 12 ++++++++++++ .github/workflows/repository.yml | 25 +++++++++++++++++++++++++ 2 files changed, 37 insertions(+) create mode 100644 .github/labels.yml create mode 100644 .github/workflows/repository.yml diff --git a/.github/labels.yml b/.github/labels.yml new file mode 100644 index 0000000..9a507e8 --- /dev/null +++ b/.github/labels.yml @@ -0,0 +1,12 @@ +# The labels in this file are automatically synced with the repository +# using the micnncim/action-label-syncer action. +--- +- name: C-dependency + color: 1abc9c + description: "Category: Dependency" +- name: PR-block + color: 3498db + description: "Pull Request: Do not merge" +- name: PR-merge + color: 3498db + description: "Pull Request: Merge when ready" diff --git a/.github/workflows/repository.yml b/.github/workflows/repository.yml new file mode 100644 index 0000000..fa2ae5e --- /dev/null +++ b/.github/workflows/repository.yml @@ -0,0 +1,25 @@ +--- +name: Repository + +on: + push: + branches: + - master + paths: + - .github/labels.yml + +jobs: + labels: + name: Labels + runs-on: ubuntu-latest + + steps: + - name: Checkout code + uses: actions/checkout@v2 + + - name: Sync labels + uses: micnncim/action-label-syncer@v1 + env: + GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} + with: + manifest: .github/labels.yml