forked from koluku/sudden-death
-
Notifications
You must be signed in to change notification settings - Fork 1
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
0b24c22
commit 4ab0d48
Showing
9 changed files
with
23 additions
and
23 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 |
---|---|---|
|
@@ -14,11 +14,11 @@ jobs: | |
steps: | ||
- name: Generate a token | ||
id: generate_token | ||
uses: actions/[email protected] | ||
uses: actions/create-github-app-token@f4c6bf6752984b3a29fcc135a5e70eb792c40c6b # v1.8.0 | ||
with: | ||
app-id: ${{ secrets.PROJECT_AUTOMATION_APP_ID }} | ||
private-key: ${{ secrets.PROJECT_AUTOMATION_PRIVATE_KEY }} | ||
- uses: dev-hato/[email protected] | ||
- uses: dev-hato/actions-add-to-projects@dcafd4eb5253d6ae0f4f29cff0dc46fd29bb5128 # v0.0.60 | ||
with: | ||
github-token: ${{steps.generate_token.outputs.token}} | ||
project-url: https://github.com/orgs/dev-hato/projects/1 |
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 |
---|---|---|
|
@@ -43,14 +43,14 @@ jobs: | |
- name: Checkout repository | ||
uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1 | ||
- name: Set up Python | ||
uses: actions/[email protected] | ||
uses: actions/setup-python@0a5c61591373683505ea898e09a3ea4f39ef2b9c # v5.0.0 | ||
if: matrix.language == 'python' | ||
with: | ||
python-version-file: .python-version | ||
cache: pipenv | ||
# Initializes the CodeQL tools for scanning. | ||
- name: Initialize CodeQL | ||
uses: github/codeql-action/init@v3 | ||
uses: github/codeql-action/init@65c74964a9ed8c44ed9f19d4bbc5757a6a8e9ab9 # codeql-bundle-v2.16.1 | ||
with: | ||
languages: ${{ matrix.language }} | ||
# If you wish to specify custom queries, you can do so here or in a config file. | ||
|
@@ -62,7 +62,7 @@ jobs: | |
# For more details on CodeQL's query packs, refer to: https://docs.github.com/en/code-security/code-scanning/automatically-scanning-your-code-for-vulnerabilities-and-errors/configuring-code-scanning#using-queries-in-ql-packs | ||
# queries: security-extended,security-and-quality | ||
|
||
uses: github/codeql-action/autobuild@v3 | ||
uses: github/codeql-action/autobuild@65c74964a9ed8c44ed9f19d4bbc5757a6a8e9ab9 # codeql-bundle-v2.16.1 | ||
# - run: | | ||
# echo "Run, Build Application using script" | ||
# ./location_of_script_within_repo/buildscript.sh | ||
|
@@ -72,7 +72,7 @@ jobs: | |
|
||
# If the Autobuild fails above, remove it and uncomment the following three lines. | ||
# modify them (or add more) to build your code if your project, please refer to the EXAMPLE below for guidance. | ||
uses: github/codeql-action/analyze@v3 | ||
uses: github/codeql-action/analyze@65c74964a9ed8c44ed9f19d4bbc5757a6a8e9ab9 # codeql-bundle-v2.16.1 | ||
with: | ||
category: "/language:${{matrix.language}}" | ||
concurrency: | ||
|
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 |
---|---|---|
|
@@ -20,7 +20,7 @@ jobs: | |
steps: | ||
- name: Generate a token | ||
id: generate_token | ||
uses: actions/[email protected] | ||
uses: actions/create-github-app-token@f4c6bf6752984b3a29fcc135a5e70eb792c40c6b # v1.8.0 | ||
with: | ||
app-id: ${{ secrets.PROJECT_AUTOMATION_APP_ID }} | ||
private-key: ${{ secrets.PROJECT_AUTOMATION_PRIVATE_KEY }} | ||
|
@@ -30,7 +30,7 @@ jobs: | |
fetch-depth: 0 | ||
ref: ${{ github.event.pull_request.head.sha }} | ||
token: ${{steps.generate_token.outputs.token}} | ||
- uses: dev-hato/[email protected] | ||
- uses: dev-hato/actions-format-json-yml@8bc54d29568af8a0ef93d36db8fc559a8f76fd73 # v0.0.61 | ||
with: | ||
github-token: ${{steps.generate_token.outputs.token}} | ||
concurrency: | ||
|
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 |
---|---|---|
|
@@ -13,7 +13,7 @@ jobs: | |
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1 | ||
- uses: dev-hato/[email protected] | ||
- uses: dev-hato/github-actions-cache-cleaner@8631f246ce2cc3142a954ada28c9c6671d4655ca # v0.0.37 | ||
with: | ||
github-token: ${{secrets.GITHUB_TOKEN}} | ||
concurrency: | ||
|
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 |
---|---|---|
|
@@ -26,15 +26,15 @@ jobs: | |
with: | ||
fetch-depth: 0 | ||
ref: ${{ github.event.pull_request.head.sha }} | ||
- uses: actions/[email protected] | ||
- uses: actions/setup-node@60edb5dd545a775178f52524783378180af0d1f8 # v4.0.2 | ||
if: github.event_name != 'pull_request' || github.event.action != 'closed' | ||
with: | ||
cache: npm | ||
- name: Get npm version | ||
id: get_npm_version | ||
if: github.event_name != 'pull_request' || github.event.action != 'closed' | ||
run: bash "${GITHUB_WORKSPACE}/scripts/pr_check_npm/pr_update_version/get_npm_version.sh" | ||
- uses: dev-hato/[email protected] | ||
- uses: dev-hato/actions-diff-pr-management@128afc4203b4e391e03868be91c987b2ddba7ea5 # v1.1.12 | ||
with: | ||
github-token: ${{secrets.GITHUB_TOKEN}} | ||
branch-name-prefix: fix-version | ||
|
@@ -52,14 +52,14 @@ jobs: | |
fetch-depth: 0 | ||
ref: ${{ github.event.pull_request.head.sha }} | ||
- name: Set up Node.js | ||
uses: actions/[email protected] | ||
uses: actions/setup-node@60edb5dd545a775178f52524783378180af0d1f8 # v4.0.2 | ||
if: github.event_name != 'pull_request' || github.event.action != 'closed' | ||
with: | ||
cache: npm | ||
- name: Install dependencies | ||
if: github.event_name != 'pull_request' || github.event.action != 'closed' | ||
run: bash "${GITHUB_WORKSPACE}/scripts/pr_check_npm/npm_install.sh" | ||
- uses: dev-hato/[email protected] | ||
- uses: dev-hato/actions-diff-pr-management@128afc4203b4e391e03868be91c987b2ddba7ea5 # v1.1.12 | ||
with: | ||
github-token: ${{secrets.GITHUB_TOKEN}} | ||
branch-name-prefix: npm | ||
|
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 |
---|---|---|
|
@@ -27,7 +27,7 @@ jobs: | |
fetch-depth: 0 | ||
ref: ${{ github.event.pull_request.head.sha }} | ||
- name: Set up Python | ||
uses: actions/[email protected] | ||
uses: actions/setup-python@0a5c61591373683505ea898e09a3ea4f39ef2b9c # v5.0.0 | ||
id: setup_python | ||
if: github.event_name != 'pull_request' || github.event.action != 'closed' | ||
with: | ||
|
@@ -48,7 +48,7 @@ jobs: | |
id: format | ||
if: github.event_name != 'pull_request' || github.event.action != 'closed' | ||
run: bash "${GITHUB_WORKSPACE}/scripts/pr_format/pr_format/format.sh" | ||
- uses: dev-hato/[email protected] | ||
- uses: dev-hato/actions-diff-pr-management@128afc4203b4e391e03868be91c987b2ddba7ea5 # v1.1.12 | ||
if: success() || failure() | ||
with: | ||
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 |
---|---|---|
|
@@ -15,7 +15,7 @@ jobs: | |
submodules: "recursive" | ||
fetch-depth: 0 | ||
- name: Set up Python | ||
uses: actions/[email protected] | ||
uses: actions/setup-python@0a5c61591373683505ea898e09a3ea4f39ef2b9c # v5.0.0 | ||
with: | ||
python-version-file: .python-version | ||
cache: pipenv | ||
|
@@ -24,13 +24,13 @@ jobs: | |
DEST_PATH: "/home/runner/work/_temp/_github_workflow/.venv" | ||
run: bash "${GITHUB_WORKSPACE}/scripts/pr_test/pr_super_lint/install_pipenv.sh" | ||
- name: Set up Node.js | ||
uses: actions/[email protected] | ||
uses: actions/setup-node@60edb5dd545a775178f52524783378180af0d1f8 # v4.0.2 | ||
with: | ||
cache: npm | ||
- name: Install dependencies | ||
run: bash "${GITHUB_WORKSPACE}/scripts/pr_test/pr_super_lint/npm_ci.sh" | ||
- name: Lint files | ||
uses: super-linter/super-linter/[email protected] | ||
uses: super-linter/super-linter/slim@ff5037c06042e564803502feb97f8a686f3b0171 # v6.0.0 | ||
env: | ||
VALIDATE_ALL_CODEBASE: true | ||
VALIDATE_SQLFLUFF: false | ||
|
@@ -49,7 +49,7 @@ jobs: | |
submodules: "recursive" | ||
fetch-depth: 0 | ||
- name: Lint dotenv | ||
uses: dotenv-linter/[email protected] | ||
uses: dotenv-linter/action-dotenv-linter@501832aa89e07af7fc4599029544dda0598ec0d1 # v2.18.0 | ||
concurrency: | ||
group: ${{ github.workflow }}-${{ github.event_name }}-${{ github.ref }} | ||
cancel-in-progress: true |
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 |
---|---|---|
|
@@ -22,14 +22,14 @@ jobs: | |
with: | ||
fetch-depth: 0 | ||
ref: ${{ github.event.pull_request.head.sha }} | ||
- uses: actions/[email protected] | ||
- uses: actions/setup-node@60edb5dd545a775178f52524783378180af0d1f8 # v4.0.2 | ||
if: github.event_name != 'pull_request' || github.event.action != 'closed' | ||
with: | ||
cache: npm | ||
- name: Install packages | ||
if: github.event_name != 'pull_request' || github.event.action != 'closed' | ||
run: bash "${GITHUB_WORKSPACE}/scripts/npm_ci.sh" | ||
- uses: dev-hato/[email protected] | ||
- uses: dev-hato/actions-update-gitleaks@71318b821cd4661d7c7bd0e19e21f950efe9e73a # v0.0.67 | ||
with: | ||
github-token: ${{secrets.GITHUB_TOKEN}} | ||
concurrency: | ||
|
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