-
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
4bc540e
commit 697a260
Showing
7 changed files
with
1,445 additions
and
1,744 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,11 @@ | ||
name: 'Check Upmerge' | ||
description: 'Github Action to check wether upmerge is necessary' | ||
runs: | ||
using: 'composite' | ||
steps: | ||
- run: printenv | ||
shell: bash | ||
- run: cd "$GITHUB_ACTION_PATH/../../.." && pwd && npm ci | ||
shell: bash | ||
- run: npx ts-node "$GITHUB_ACTION_PATH/../../../tools/scripts/upmerge/upmerge.ts" | ||
shell: bash |
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,12 @@ | ||
name: 'Check Upmerge' | ||
on: | ||
schedule: | ||
# Runs "At 18:00 every day" (see https://crontab.guru) | ||
- cron: '0 18 * * *' | ||
|
||
permissions: write-all | ||
|
||
jobs: | ||
check-upmerge: | ||
uses: collaborationFactory/github-actions/.github/workflows/fe-check-upmerge.yml@master | ||
|
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,28 @@ | ||
name: Check wether upmerge is necessary on a CRON Schedule | ||
|
||
jobs: | ||
check-upmerge: | ||
name: Run Upmerge Flow | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v2 | ||
with: | ||
ref: ${{ inputs.GHA_REF }} | ||
fetch-depth: 0 | ||
|
||
- uses: actions/setup-node@v3 | ||
with: | ||
node-version: 18.18.2 | ||
|
||
- name: Cache Node Modules | ||
id: npm-cache | ||
uses: actions/cache@v2 | ||
with: | ||
path: '**/node_modules' | ||
key: ${{ runner.os }}-modules-${{ hashFiles('**/package-lock.json') }} | ||
|
||
- name: check if upmerge is necessary and post to slack | ||
uses: collaborationFactory/github-actions/.github/actions/upmerge@master | ||
env: | ||
SLACK_TOKEN_UPMERGE: ${{ secrets.SLACK_TOKEN_UPMERGE }} | ||
|
Oops, something went wrong.