Skip to content

Commit 44f5039

Browse files
Merge pull request #66 from serv-c/feature/devops
devopsbot update
2 parents 05f8d63 + 36790a3 commit 44f5039

3 files changed

Lines changed: 42 additions & 7 deletions

File tree

.github/workflows/changelog.yml

Lines changed: 35 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,35 @@
1+
jobs:
2+
changelog:
3+
name: changelog
4+
runs-on:
5+
- ubuntu-latest
6+
steps:
7+
- uses: actions/checkout@v6
8+
with:
9+
fetch-depth: 0
10+
fetch-tags: true
11+
submodules: true
12+
- id: previoustag
13+
name: Get Latest Tag
14+
run: |-
15+
echo ::set-output name=tag::$(git describe --tags "$(git rev-list --tags --max-count=1)")
16+
echo $(git describe --tags "$(git rev-list --tags --max-count=1)")
17+
- id: changelog
18+
if: github.ref_name == 'main'
19+
name: Generate new Tag
20+
uses: TriPSs/conventional-changelog-action@v6
21+
with:
22+
fallback-version: ${{ steps.previoustag.outputs.tag }}
23+
git-url: ${{ github.server_url != 'https://github.com' && 'git.yusufali.ca' || 'github.com' }}
24+
github-token: ${{ github.token }}
25+
output-file: false
26+
skip-ci: false
27+
skip-commit: true
28+
skip-version-file: true
29+
tag-prefix: ''
30+
name: CHANGELOG
31+
'on':
32+
workflow_dispatch: {}
33+
permissions:
34+
contents: write
35+
run-name: CHANGELOG

.github/workflows/commit.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,12 +4,12 @@ jobs:
44
runs-on:
55
- ubuntu-latest
66
steps:
7-
- uses: actions/checkout@v4
7+
- uses: actions/checkout@v6
88
with:
99
fetch-depth: 0
1010
fetch-tags: true
1111
submodules: true
12-
- uses: actions/setup-node@v6
12+
- uses: actions/setup-node@v4
1313
with:
1414
node-version: 23.1
1515
- name: Install commitlint

.github/workflows/dependabot-auto-merge.yml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -16,12 +16,13 @@ jobs:
1616
runs-on:
1717
- ubuntu-latest
1818
steps:
19-
- uses: actions/checkout@v4
19+
- uses: actions/checkout@v6
2020
with:
2121
fetch-depth: 0
2222
fetch-tags: true
2323
submodules: true
24-
- name: Setup GitHub CLI
24+
- &id001
25+
name: Setup GitHub CLI
2526
uses: ksivamuthu/actions-setup-gh-cli@v3
2627
- env:
2728
GH_TOKEN: ${{secrets.GITHUB_TOKEN}}
@@ -34,13 +35,12 @@ jobs:
3435
runs-on:
3536
- ubuntu-latest
3637
steps:
37-
- uses: actions/checkout@v4
38+
- uses: actions/checkout@v6
3839
with:
3940
fetch-depth: 0
4041
fetch-tags: true
4142
submodules: true
42-
- name: Setup GitHub CLI
43-
uses: ksivamuthu/actions-setup-gh-cli@v3
43+
- *id001
4444
- env:
4545
GH_TOKEN: ${{secrets.GITHUB_TOKEN}}
4646
PR_URL: ${{github.event.pull_request.html_url}}

0 commit comments

Comments
 (0)