Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
M
marlin-anet-a8
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Jonas Leder
marlin-anet-a8
Commits
38c0f800
Commit
38c0f800
authored
5 years ago
by
Scott Lahteine
Browse files
Options
Downloads
Patches
Plain Diff
Action to check PRs
parent
57e37b6c
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
.github/workflows/check-pr.yml
+31
-0
31 additions, 0 deletions
.github/workflows/check-pr.yml
with
31 additions
and
0 deletions
.github/workflows/check-pr.yml
0 → 100644
+
31
−
0
View file @
38c0f800
#
# check-pr.yml
# Automatically close the PR if it's directed to a release branch
#
name
:
Check PR
on
:
pull_request
:
branches
:
-
1.0.x
-
1.1.x
-
2.0.x
jobs
:
check_pr
:
runs-on
:
ubuntu-latest
steps
:
-
name
:
Comment on PR
uses
:
unsplash/comment-on-pr@master
env
:
GITHUB_TOKEN
:
${{ secrets.GITHUB_TOKEN }}
with
:
msg
:
"
<p>Thanks
for
your
contribution!
\
Unfortunately
we
can't
accept
PRs
directed
at
release
branches.
\
We
make
patches
to
the
bugfix
branches
and
only
later
do
we
push
them
out
as
releases.
\
Please
redo
this
PR
starting
with
the
`bugfix-2.0.x`
branch
and
be
careful
to
target
`bugfix-2.0.x`
when
resubmitting
the
PR.</p>
\
<p>It
may
help
to
set
your
fork's
default
branch
to
`bugfix-2.0.x`.</p>
\
<p>See
<a
href='http://marlinfw.org/docs/development/getting_started_pull_requests.html'
target='_blank'>this
page</a>
for
full
instructions.</p>"
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment