forked from Kometa-Team/Kometa
-
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.
- Loading branch information
1 parent
5a1b9d4
commit fd97fd7
Showing
6 changed files
with
88 additions
and
19 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
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,27 @@ | ||
name: Merge Nightly into Develop | ||
|
||
on: | ||
workflow_dispatch: | ||
|
||
jobs: | ||
merge-develop: | ||
runs-on: ubuntu-latest | ||
steps: | ||
|
||
- name: Create App Token | ||
uses: actions/create-github-app-token@v1 | ||
id: app-token | ||
with: | ||
app-id: ${{ vars.APP_ID }} | ||
private-key: ${{ secrets.APP_TOKEN }} | ||
|
||
- name: Check Out Repo | ||
uses: actions/checkout@v4 | ||
with: | ||
token: ${{ steps.app-token.outputs.token }} | ||
ref: nightly | ||
fetch-depth: 0 | ||
|
||
- name: Push Nightly into Develop | ||
run: | | ||
git push origin refs/heads/nightly:refs/heads/develop |
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,27 @@ | ||
name: Merge Develop into Master | ||
|
||
on: | ||
workflow_dispatch: | ||
|
||
jobs: | ||
merge-master: | ||
runs-on: ubuntu-latest | ||
steps: | ||
|
||
- name: Create App Token | ||
uses: actions/create-github-app-token@v1 | ||
id: app-token | ||
with: | ||
app-id: ${{ vars.APP_ID }} | ||
private-key: ${{ secrets.APP_TOKEN }} | ||
|
||
- name: Check Out Repo | ||
uses: actions/checkout@v4 | ||
with: | ||
token: ${{ steps.app-token.outputs.token }} | ||
ref: develop | ||
fetch-depth: 0 | ||
|
||
- name: Push Develop into Master | ||
run: | | ||
git push origin refs/heads/develop:refs/heads/master |
This file was deleted.
Oops, something went wrong.
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,27 @@ | ||
name: Validate Pull Request | ||
|
||
on: pull_request | ||
|
||
jobs: | ||
validate-pull: | ||
runs-on: ubuntu-latest | ||
steps: | ||
|
||
- name: Display Refs | ||
run: | | ||
echo "Base Repo: ${{ github.event.pull_request.base.repo.full_name }}" | ||
echo "Base Ref: ${{ github.base_ref }}" | ||
echo "Head Repo: ${{ github.event.pull_request.head.repo.full_name }}" | ||
echo "Head Ref: ${{ github.head_ref }}" | ||
- name: Check Base Branch | ||
if: github.base_ref == 'master' || github.base_ref == 'develop' | ||
run: | | ||
echo "ERROR: Pull Requests cannot be submitted to master or develop. Please submit the Pull Request to the nightly branch" | ||
exit 1 | ||
- name: Checkout Repo | ||
uses: actions/checkout@v4 | ||
|
||
- name: Run Spellcheck | ||
uses: rojopolis/spellcheck-github-actions@0.36.0 |
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 |
---|---|---|
@@ -1 +1 @@ | ||
2.0.1-develop25 | ||
2.0.1-develop26 |