-
Notifications
You must be signed in to change notification settings - Fork 35
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Update action to use reusable workflows (#19)
* Update workflows to use reusable-workflows * Update workflows * Add links to reusable workflows * Update action to use reusable-workflows repo * Fix review points
- Loading branch information
1 parent
98c01fe
commit 112638f
Showing
7 changed files
with
42 additions
and
82 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,12 @@ | ||
name: Basic validation | ||
|
||
on: | ||
push: | ||
branches: | ||
- main | ||
pull_request: | ||
|
||
jobs: | ||
call-basic-validation: | ||
name: Basic validation | ||
uses: actions/reusable-workflows/.github/workflows/basic-validation.yml@main |
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,14 @@ | ||
name: CodeQL analysis | ||
|
||
on: | ||
push: | ||
branches: [ main ] | ||
pull_request: | ||
branches: [ main ] | ||
schedule: | ||
- cron: '0 3 * * 0' | ||
|
||
jobs: | ||
call-codeQL-analysis: | ||
name: CodeQL analysis | ||
uses: actions/reusable-workflows/.github/workflows/codeql-analysis.yml@main |
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,20 +1,14 @@ | ||
name: Licensed | ||
|
||
on: | ||
push: {branches: main} | ||
pull_request: {branches: main} | ||
push: | ||
branches: | ||
- main | ||
pull_request: | ||
branches: | ||
- main | ||
|
||
jobs: | ||
test: | ||
runs-on: ubuntu-latest | ||
name: Check licenses | ||
steps: | ||
- uses: actions/checkout@v3 | ||
- run: npm ci | ||
- name: Install licensed | ||
run: | | ||
cd $RUNNER_TEMP | ||
curl -Lfs -o licensed.tar.gz https://github.com/github/licensed/releases/download/3.4.4/licensed-3.4.4-linux-x64.tar.gz | ||
sudo tar -xzf licensed.tar.gz | ||
sudo mv licensed /usr/local/bin/licensed | ||
- run: licensed status | ||
call-licensed: | ||
name: Licensed | ||
uses: actions/reusable-workflows/.github/workflows/licensed.yml@main |
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,4 +1,5 @@ | ||
name: Release new action version | ||
|
||
on: | ||
release: | ||
types: [released] | ||
|
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