Compare commits
9 Commits
0.1.9
...
c1c4a76587
| Author | SHA1 | Date | |
|---|---|---|---|
| c1c4a76587 | |||
| 5ca4305167 | |||
| 6aaf400d5b | |||
| c8b0a0bab3 | |||
| 00b4782244 | |||
| 2a0f949d49 | |||
| ede91c8da1 | |||
| bf1fc84c5b | |||
| 6fe6639f0b |
@@ -4,6 +4,9 @@ on:
|
|||||||
push:
|
push:
|
||||||
branches:
|
branches:
|
||||||
- main
|
- main
|
||||||
|
paths:
|
||||||
|
- action.yml
|
||||||
|
workflow_dispatch:
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
release:
|
release:
|
||||||
@@ -15,9 +18,9 @@ jobs:
|
|||||||
fetch-depth: 0
|
fetch-depth: 0
|
||||||
- name: Increment tag
|
- name: Increment tag
|
||||||
id: tag
|
id: tag
|
||||||
uses: https://gitea.t000-n.de/t.behrendt/conventional-semantic-git-tag-increment@68d642a9f68c4c00b6809126707aceca432c5e75 # 0.1.25
|
uses: https://gitea.t000-n.de/t.behrendt/conventional-semantic-git-tag-increment@af46017d0af5fd6af4425f8e6961f14280a1acd1 # 0.1.26
|
||||||
with:
|
with:
|
||||||
token: ${{ secrets.GITEA_TOKEN }}
|
token: ${{ secrets.GITEA_TOKEN }}
|
||||||
- uses: https://gitea.t000-n.de/t.behrendt/actions/release-git-tag@72551407e761ecdad9bfd421513a1f3b6f252234 # 0.1.2
|
- uses: https://gitea.t000-n.de/t.behrendt/actions/release-git-tag@1b8fe65eda1ea0a7586a5fd552ef8f4a639b154f # 0.1.3
|
||||||
with:
|
with:
|
||||||
tag: ${{ steps.tag.outputs.new-tag }}
|
tag: ${{ steps.tag.outputs.new-tag }}
|
||||||
|
|||||||
@@ -13,10 +13,10 @@ jobs:
|
|||||||
fetch-depth: 0
|
fetch-depth: 0
|
||||||
- name: Increment tag
|
- name: Increment tag
|
||||||
id: tag
|
id: tag
|
||||||
uses: https://gitea.t000-n.de/t.behrendt/conventional-semantic-git-tag-increment@68d642a9f68c4c00b6809126707aceca432c5e75 # 0.1.25
|
uses: https://gitea.t000-n.de/t.behrendt/conventional-semantic-git-tag-increment@af46017d0af5fd6af4425f8e6961f14280a1acd1 # 0.1.26
|
||||||
with:
|
with:
|
||||||
token: ${{ secrets.GITEA_TOKEN }}
|
token: ${{ secrets.GITEA_TOKEN }}
|
||||||
prerelease: true
|
prerelease: true
|
||||||
- uses: https://gitea.t000-n.de/t.behrendt/actions/release-git-tag@72551407e761ecdad9bfd421513a1f3b6f252234 # 0.1.2
|
- uses: https://gitea.t000-n.de/t.behrendt/actions/release-git-tag@1b8fe65eda1ea0a7586a5fd552ef8f4a639b154f # 0.1.3
|
||||||
with:
|
with:
|
||||||
tag: ${{ steps.tag.outputs.new-tag }}
|
tag: ${{ steps.tag.outputs.new-tag }}
|
||||||
31
.gitea/workflows/run-tas.yaml
Normal file
31
.gitea/workflows/run-tas.yaml
Normal file
@@ -0,0 +1,31 @@
|
|||||||
|
name: Run TAS
|
||||||
|
|
||||||
|
on:
|
||||||
|
pull_request:
|
||||||
|
workflow_dispatch:
|
||||||
|
inputs:
|
||||||
|
branch:
|
||||||
|
description: "The branch to run TAS on"
|
||||||
|
required: true
|
||||||
|
default: "main"
|
||||||
|
schedule:
|
||||||
|
- cron: "0 6 * * 5"
|
||||||
|
|
||||||
|
jobs:
|
||||||
|
run-tas:
|
||||||
|
runs-on: ubuntu-latest
|
||||||
|
steps:
|
||||||
|
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
|
||||||
|
- uses: https://gitea.t000-n.de/t.behrendt/trivy-actions/setup-trivy@067d321f7abaf65a6f9efe8a69efd89a2fd21ae0 # 1.3.5
|
||||||
|
- uses: https://gitea.t000-n.de/t.behrendt/trivy-actions/setup-db@067d321f7abaf65a6f9efe8a69efd89a2fd21ae0 # 1.3.5
|
||||||
|
- env:
|
||||||
|
TRIVY_CACHE_DIR: ${{ runner.temp }}/trivy
|
||||||
|
run: |
|
||||||
|
trivy config --cache-dir "$TRIVY_CACHE_DIR" --exit-code 0 --format sarif --output sarif.json .
|
||||||
|
- uses: https://gitea.t000-n.de/t.behrendt/tas-actions/tas-upload-sarif@5e1031a9eff4a83fc17d0893332ad896386c082f # 0.0.3
|
||||||
|
with:
|
||||||
|
tas-base-url: ${{ vars.TAS_BASE_URL }}
|
||||||
|
sarif-file: sarif.json
|
||||||
|
owner: t.behrendt
|
||||||
|
repo: validate-json-by-json-schema-action
|
||||||
|
branch: ${{ inputs.branch || github.head_ref || 'main' }}
|
||||||
Reference in New Issue
Block a user