diff --git a/.github/config/labels.yml b/.github/config/labels.yml new file mode 100644 index 000000000..c5a1bc5a6 --- /dev/null +++ b/.github/config/labels.yml @@ -0,0 +1,10 @@ +1.14: + - "1.14" +1.15: + - "1.15" +1.16: + - "1.16" +1.17: + - "1.17" +1.18: + - "1.18" diff --git a/.github/workflows/manage_issues.yml b/.github/workflows/close_issues.yml similarity index 94% rename from .github/workflows/manage_issues.yml rename to .github/workflows/close_issues.yml index 0b1b1a10f..d4e4b3b57 100644 --- a/.github/workflows/manage_issues.yml +++ b/.github/workflows/close_issues.yml @@ -1,10 +1,11 @@ -name: "Manage Issues" +name: "Close Issues" on: schedule: - cron: '0 */12 * * *' + workflow_dispatch: jobs: - stale: + close: runs-on: ubuntu-latest permissions: issues: write diff --git a/.github/workflows/label_issues.yml b/.github/workflows/label_issues.yml new file mode 100644 index 000000000..1ab808c88 --- /dev/null +++ b/.github/workflows/label_issues.yml @@ -0,0 +1,13 @@ +name: "Label Issues" +on: + issues: + types: [opened, edited] + +jobs: + label: + runs-on: ubuntu-latest + steps: + - uses: github/issue-labeler@v2.0 + with: + configuration-path: .github/config/labels.yml + repo-token: ${{ secrets.GITHUB_TOKEN }}