Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
B
baas-ide
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
JIRA
JIRA
Merge Requests
1
Merge Requests
1
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
guxukai
baas-ide
Commits
b1e1e0b5
Unverified
Commit
b1e1e0b5
authored
Jul 15, 2020
by
yann300
Committed by
GitHub
Jul 15, 2020
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Create autosquash.yml
parent
a4303830
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
39 additions
and
0 deletions
+39
-0
autosquash.yml
.github/workflows/autosquash.yml
+39
-0
No files found.
.github/workflows/autosquash.yml
0 → 100644
View file @
b1e1e0b5
name
:
Autosquash
on
:
check_run
:
types
:
# Check runs completing successfully can unblock the
# corresponding pull requests and make them mergeable.
-
completed
pull_request
:
types
:
# A closed pull request makes the checks on the other
# pull request on the same base outdated.
-
closed
# Adding the autosquash label to a pull request can
# trigger an update or a merge.
-
labeled
pull_request_review
:
types
:
# Review approvals can unblock the pull request and
# make it mergeable.
-
submitted
# Success statuses can unblock the corresponding
# pull requests and make them mergeable.
status
:
{}
jobs
:
autosquash
:
name
:
Autosquash
runs-on
:
ubuntu-18.04
steps
:
-
uses
:
tibdex/autosquash@v2
with
:
# We can't use the built-in secrets.GITHUB_TOKEN yet because of this limitation:
# https://github.community/t5/GitHub-Actions/Triggering-a-new-workflow-from-another-workflow/td-p/31676
# In the meantime, use a token granting write access on the repo:
# - a GitHub App token
# See https://github.com/marketplace/actions/github-app-token.
# - a personal access token
# See https://help.github.com/en/articles/creating-a-personal-access-token-for-the-command-line.
github_token
:
${{ secrets.AUTOSQUASH_TOKEN }}
Write
Preview
Markdown
is supported
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