Skip to content

Commit 00959d7

Browse files
author
ansible-repo-updater[bot]
committed
chore: sync from template v1.0.1
1 parent d4cddc9 commit 00959d7

File tree

5 files changed

+88
-146
lines changed

5 files changed

+88
-146
lines changed

.github/workflows/build.yml

Lines changed: 0 additions & 129 deletions
This file was deleted.

.github/workflows/rebase-on-push-to-main-branch.yaml

Lines changed: 0 additions & 17 deletions
This file was deleted.

.github/workflows/rebase.yaml

Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
---
2+
name: "Rebase"
3+
4+
"on":
5+
push:
6+
branches:
7+
- main
8+
9+
concurrency:
10+
group: push-rebase-main
11+
cancel-in-progress: true
12+
13+
jobs:
14+
rebase:
15+
name: "Rebase"
16+
runs-on: ubuntu-latest
17+
permissions:
18+
pull-requests: write
19+
contents: write
20+
steps:
21+
- name: "Rebase all non-draft non-dependencies pull requests"
22+
uses: peter-evans/rebase@v3.1.0
23+
with:
24+
base: main
25+
exclude-drafts: true
26+
exclude-labels: dependencies

.github/workflows/release.yaml

Lines changed: 34 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,34 @@
1+
---
2+
name: Release
3+
4+
"on":
5+
push:
6+
branches:
7+
- main
8+
9+
jobs:
10+
release:
11+
name: "Release"
12+
runs-on: ubuntu-latest
13+
permissions:
14+
contents: write
15+
pull-requests: write
16+
concurrency:
17+
group: semantic-release
18+
cancel-in-progress: false
19+
steps:
20+
- name: Checkout
21+
uses: actions/checkout@v5
22+
with:
23+
fetch-depth: 0
24+
token: ${{ secrets.SEMANTIC_RELEASE_TOKEN || secrets.GITHUB_TOKEN }}
25+
26+
- name: Semantic release
27+
run: |
28+
docker run --rm \
29+
--user 1001 \
30+
-v ${{ github.workspace }}:/workspace \
31+
-w /workspace \
32+
-e GITHUB_TOKEN=${{ secrets.SEMANTIC_RELEASE_TOKEN || secrets.GITHUB_TOKEN }} \
33+
-e CI=true \
34+
ghcr.io/disafronov/semantic-release:latest

.github/workflows/validate.yaml

Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,28 @@
1+
---
2+
name: Validate
3+
4+
"on":
5+
pull_request:
6+
branches:
7+
- main
8+
9+
jobs:
10+
validate:
11+
name: "Validate"
12+
runs-on: ubuntu-latest
13+
permissions:
14+
contents: read
15+
steps:
16+
- name: Checkout
17+
uses: actions/checkout@v5
18+
with:
19+
fetch-depth: 0
20+
21+
- name: Semantic release dry run
22+
run: |
23+
docker run --rm \
24+
--user 1001 \
25+
-v ${{ github.workspace }}:/workspace \
26+
-w /workspace \
27+
ghcr.io/disafronov/semantic-release:latest \
28+
--dry-run

0 commit comments

Comments
 (0)