-
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #37 from twitter-base/gh-actions
Gh actions
- Loading branch information
Showing
23 changed files
with
208 additions
and
8,183 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
name: Dependabot Auto-Merge | ||
|
||
on: | ||
pull_request: | ||
|
||
jobs: | ||
auto-merge: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v2 | ||
- uses: ahmadnassri/action-dependabot-auto-merge@v2 | ||
with: | ||
target: minor | ||
github-token: ${{ secrets.GITHUB_TOKEN }} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,35 @@ | ||
name: Base-Branch Check Protected [PR] | ||
on: | ||
pull_request: | ||
branches: | ||
- 'main' | ||
- 'next' | ||
- 'dev' | ||
jobs: | ||
check-pr-base-branch-protected: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- if: github.ref == 'refs/heads/main' | ||
name: Base-branch check - main | ||
uses: a-b-r-o-w-n/check-base-branch-action@v1 | ||
with: | ||
protectedBranches: "next" | ||
defaultBranch: "dev" | ||
update-branch: false | ||
repo-token: "${{ secrets.GITHUB_TOKEN }}" | ||
- if: github.ref == 'refs/heads/next' | ||
name: Base-branch check - next | ||
uses: a-b-r-o-w-n/check-base-branch-action@v1 | ||
with: | ||
protectedBranches: "dev" | ||
defaultBranch: "main" | ||
update-branch: false | ||
repo-token: "${{ secrets.GITHUB_TOKEN }}" | ||
- if: github.ref == 'refs/heads/dev' | ||
name: Base-branch check - dev | ||
uses: a-b-r-o-w-n/check-base-branch-action@v1 | ||
with: | ||
protectedBranches: "main" | ||
defaultBranch: "next" | ||
update-branch: true | ||
repo-token: "${{ secrets.GITHUB_TOKEN }}" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
name: Base-Branch Check Unprotected [PR] | ||
on: | ||
pull_request: | ||
branches-ignore: | ||
- 'main' | ||
- 'next' | ||
- 'dev' | ||
jobs: | ||
check-pr-base-branch-unprotected: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: Base-branch check - feature - unprotected | ||
uses: a-b-r-o-w-n/check-base-branch-action@v1 | ||
with: | ||
protectedBranches: "main, next" | ||
defaultBranch: "dev" | ||
update-branch: true | ||
repo-token: "${{ secrets.GITHUB_TOKEN }}" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
on: | ||
push: | ||
branches: | ||
- "main" | ||
jobs: | ||
merge-branch: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v2 | ||
- uses: everlytic/[email protected] | ||
with: | ||
github_token: ${{ github.token }} | ||
source_ref: ${{ github.ref }} | ||
target_branch: 'dev' | ||
commit_message_template: 'chore(backmerge) [Automated] [skip ci] Merged {source_ref} into target {target_branch}' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
name: Release-Notes-Preview | ||
|
||
on: | ||
[pull_request, issue_comment] | ||
|
||
jobs: | ||
preview: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v2 | ||
- run: | | ||
git fetch --prune --unshallow --tags | ||
- uses: snyk/[email protected] | ||
with: | ||
releaseBranch: main | ||
env: | ||
GITHUB_PR_USERNAME: ${{ github.actor }} | ||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Binary file removed
BIN
-6.51 KB
.yarn/cache/@dezren39-chunk-text-npm-2.0.1-bdccc9fa60-bb6108ed2f.zip
Binary file not shown.
Binary file added
BIN
+243 KB
.yarn/cache/@saithodev-semantic-release-backmerge-npm-1.1.3-d1218ae0bb-d56d4ca2b0.zip
Binary file not shown.
Binary file renamed
BIN
+63 KB
...ode-npm-8.10.63-6babdaec0b-ca5a93b903.zip → ...ode-npm-8.10.64-fba1e23cf4-9d6c02ca61.zip
Binary file not shown.
Binary file renamed
BIN
+6.42 KB
...ext-npm-1.1.101-d31af5dee2-825971ae4f.zip → ...-text-npm-2.0.1-8c45c41f43-e878995637.zip
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file renamed
BIN
+10.7 KB
...tomic-npm-0.9.7-930f5664b8-10bb532d51.zip → ...tomic-npm-1.0.0-b37ada1b49-000682037e.zip
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file renamed
BIN
+18.4 KB
...tweet-npm-0.1.6-cbc0896305-ef8474e6d1.zip → ...tweet-npm-1.2.0-bb7a45dc80-f0546adea8.zip
Binary file not shown.
Binary file not shown.
Oops, something went wrong.