Skip to content

Commit

Permalink
add require labels
Browse files Browse the repository at this point in the history
  • Loading branch information
joamatab committed Mar 3, 2024
1 parent 048228f commit 7e08fc1
Show file tree
Hide file tree
Showing 2 changed files with 19 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/pages.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: Sphinx docs to gh-pages
name: build docs

on:
pull_request:
Expand Down Expand Up @@ -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/"

Expand Down
17 changes: 17 additions & 0 deletions .github/workflows/require-labels.yml
Original file line number Diff line number Diff line change
@@ -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

0 comments on commit 7e08fc1

Please sign in to comment.