Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
pyMOR
pymor
Commits
b7a4f43b
Unverified
Commit
b7a4f43b
authored
Mar 29, 2022
by
René Fritze
Committed by
GitHub
Mar 29, 2022
Browse files
Merge pull request #1607 from pymor/fix_labeler
[ci] spit labelling workflows, fixing github labeler
parents
2597c541
96801792
Pipeline
#135851
passed with stages
in 81 minutes and 3 seconds
Changes
2
Pipelines
2
Hide whitespace changes
Inline
Side-by-side
.github/workflows/add_labels.yml
0 → 100644
View file @
b7a4f43b
name
:
Add Labels
on
:
-
pull_request_target
jobs
:
# This action will triage pull requests and apply a label based on the
# paths that are modified in the pull request.
# https://github.com/actions/labeler/blob/master/README.md
Labeler
:
runs-on
:
ubuntu-latest
steps
:
-
uses
:
actions/labeler@v4
with
:
repo-token
:
"
${{
secrets.GITHUB_TOKEN
}}"
.github/workflows/enforce-labels.yml
View file @
b7a4f43b
name
:
PR
Labels
name
:
Enforce
Labels
on
:
pull_request
:
types
:
[
labeled
,
unlabeled
,
opened
,
edited
,
synchronize
]
jobs
:
# This action will triage pull requests and apply a label based on the
# paths that are modified in the pull request.
#
# To use this workflow, you will need to set up a .github/labeler.yml
# file with configuration. For more information, see:
# https://github.com/actions/labeler/blob/master/README.md
autolabel
:
name
:
Auto-add
runs-on
:
ubuntu-latest
steps
:
-
uses
:
actions/labeler@v4
with
:
repo-token
:
"
${{
secrets.GITHUB_TOKEN
}}"
#
enforce-label
:
name
:
"
Enforce
pr:*"
runs-on
:
ubuntu-latest
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment