Compare commits
10 Commits
0.1.3
...
chore-pin-
| Author | SHA1 | Date | |
|---|---|---|---|
|
4576e92464
|
|||
| ede91c8da1 | |||
| bf1fc84c5b | |||
| 6fe6639f0b | |||
| a1aab1475d | |||
| 296da3a42a | |||
| dee8ce27b3 | |||
| 2a78da7312 | |||
| 38f70cf013 | |||
| ee4644cbe4 |
@@ -1,15 +0,0 @@
|
||||
name: Release Git tag
|
||||
description: Release the Git tag
|
||||
|
||||
inputs:
|
||||
tag:
|
||||
description: The tag to release
|
||||
required: true
|
||||
|
||||
runs:
|
||||
using: "composite"
|
||||
steps:
|
||||
- shell: bash
|
||||
run: |
|
||||
git tag ${{ inputs.tag }}
|
||||
git push origin ${{ inputs.tag }}
|
||||
@@ -4,20 +4,23 @@ on:
|
||||
push:
|
||||
branches:
|
||||
- main
|
||||
paths:
|
||||
- action.yml
|
||||
workflow_dispatch:
|
||||
|
||||
jobs:
|
||||
release:
|
||||
name: Release
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: actions/checkout@v5
|
||||
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
|
||||
with:
|
||||
fetch-depth: 0
|
||||
- name: Increment tag
|
||||
id: tag
|
||||
uses: https://gitea.t000-n.de/t.behrendt/conventional-semantic-git-tag-increment@0.1.23
|
||||
uses: https://gitea.t000-n.de/t.behrendt/conventional-semantic-git-tag-increment@68d642a9f68c4c00b6809126707aceca432c5e75 # 0.1.25
|
||||
with:
|
||||
token: ${{ secrets.GITEA_TOKEN }}
|
||||
- uses: ./.gitea/actions/release-git-tag
|
||||
- uses: https://gitea.t000-n.de/t.behrendt/actions/release-git-tag@72551407e761ecdad9bfd421513a1f3b6f252234 # 0.1.2
|
||||
with:
|
||||
tag: ${{ steps.tag.outputs.new-tag }}
|
||||
tag: ${{ steps.tag.outputs.new-tag }}
|
||||
|
||||
@@ -8,7 +8,7 @@ jobs:
|
||||
name: Dry-Run
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: actions/checkout@v5
|
||||
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
|
||||
- name: Validate JSON
|
||||
uses: ./
|
||||
with:
|
||||
|
||||
@@ -8,15 +8,15 @@ jobs:
|
||||
name: Release
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: actions/checkout@v5
|
||||
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
|
||||
with:
|
||||
fetch-depth: 0
|
||||
- name: Increment tag
|
||||
id: tag
|
||||
uses: https://gitea.t000-n.de/t.behrendt/conventional-semantic-git-tag-increment@0.1.23
|
||||
uses: https://gitea.t000-n.de/t.behrendt/conventional-semantic-git-tag-increment@68d642a9f68c4c00b6809126707aceca432c5e75 # 0.1.25
|
||||
with:
|
||||
token: ${{ secrets.GITEA_TOKEN }}
|
||||
prerelease: true
|
||||
- uses: ./.gitea/actions/release-git-tag
|
||||
- uses: https://gitea.t000-n.de/t.behrendt/actions/release-git-tag@72551407e761ecdad9bfd421513a1f3b6f252234 # 0.1.2
|
||||
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@d3dadf6c278b1e86c8f292844225e9c6de230c64 # 1.3.1
|
||||
- uses: https://gitea.t000-n.de/t.behrendt/trivy-actions/setup-db@d3dadf6c278b1e86c8f292844225e9c6de230c64 # 1.3.1
|
||||
- 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@cd7a5213f75c28565a24fff5ce7f8161869fb813 # 0.0.2
|
||||
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' }}
|
||||
@@ -10,7 +10,7 @@ inputs:
|
||||
runs:
|
||||
using: "composite"
|
||||
steps:
|
||||
- uses: actions/setup-node@v5
|
||||
- uses: actions/setup-node@6044e13b5dc448c55e2357c09f80417699197238 # v6.2.0
|
||||
with:
|
||||
node-version: "latest"
|
||||
- name: Extract schema
|
||||
|
||||
@@ -1,3 +1,7 @@
|
||||
{
|
||||
"$schema": "https://docs.renovatebot.com/renovate-schema.json"
|
||||
"$schema": "https://docs.renovatebot.com/renovate-schema.json",
|
||||
"extends": [
|
||||
"local>t.behrendt/renovate-configs:common",
|
||||
"local>t.behrendt/renovate-configs:action"
|
||||
]
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user