diff --git a/.github/workflows/pages.yml b/.github/workflows/pages.yml index c0a6c7a9..0b5281b7 100644 --- a/.github/workflows/pages.yml +++ b/.github/workflows/pages.yml @@ -1,4 +1,4 @@ -name: Sphinx docs to gh-pages +name: build docs on: pull_request: @@ -30,7 +30,7 @@ jobs: make install make docs - name: Upload artifact - uses: actions/upload-pages-artifact@v2 + uses: actions/upload-pages-artifact@v3 with: path: "./docs/_build/html/" diff --git a/.github/workflows/require-labels.yml b/.github/workflows/require-labels.yml new file mode 100644 index 00000000..4df124dd --- /dev/null +++ b/.github/workflows/require-labels.yml @@ -0,0 +1,17 @@ +name: Pull Request Labels +on: + pull_request: + types: [opened, labeled, unlabeled, synchronize] +jobs: + label: + runs-on: ubuntu-latest + permissions: + issues: write + pull-requests: write + steps: + - uses: mheap/github-action-required-labels@v5 + with: + mode: minimum + count: 1 + labels: "breaking, bug, github_actions, documentation, dependencies, enhancement, feature, maintenance, security" + add_comment: true