Commit f744a08 1 parent 508eea1 commit f744a08 Copy full SHA for f744a08
File tree 1 file changed +13
-9
lines changed
1 file changed +13
-9
lines changed Original file line number Diff line number Diff line change 5
5
push :
6
6
branches :
7
7
- main
8
+ workflow_call :
9
+ secrets :
10
+ ADFINISBOT_PAT :
11
+ required : true
8
12
9
13
jobs :
10
14
semrel :
@@ -13,12 +17,14 @@ jobs:
13
17
steps :
14
18
- name : Checkout Repository
15
19
uses : actions/checkout@v4
20
+ with :
21
+ token : ${{ secrets.ADFINISBOT_PAT }}
16
22
17
23
- name : Semantic Release
18
24
uses : go-semantic-release/action@v1
19
25
id : semrel
20
26
with :
21
- github-token : ${{ secrets.GITHUB_TOKEN }}
27
+ github-token : ${{ secrets.ADFINISBOT_PAT }}
22
28
allow-initial-development-versions : true
23
29
24
30
- run : pipx install poetry
@@ -37,15 +43,13 @@ jobs:
37
43
cmd : yq eval '(.appVersion = "${{ steps.semrel.outputs.version }}") | (.version = "{{ steps.semrel.outputs.version }}" )' --inplace ./charts/outdated/Chart.yaml
38
44
39
45
- name : Release Commit
40
- uses : EndBug/add-and-commit@v9
41
46
if : steps.semrel.outputs.version != ''
42
- with :
43
- message : " chore(release): ${{ steps.semrel.outputs.version }} [skip ci]"
44
- default_author : github_actions
45
- add : |
46
- api/pyproject.toml
47
- ember/package.json
48
- charts/outdated/Chart.yaml
47
+ run : |
48
+ git config user.name "adfinisbot"
49
+ git config user.email "[email protected] "
50
+ git add api/pyproject.toml ember/package.json charts/outdated/Chart.yaml
51
+ git commit -m "chore(release): ${{ steps.semrel.outputs.version }} [skip ci]"
52
+ git push
49
53
50
54
- name : Login to GitHub Container Registry
51
55
uses : docker/login-action@v3
You can’t perform that action at this time.
0 commit comments