Skip to content

Commit 83aa379

Browse files
committed
fix: migrate to action 'create-github-app-token' for version-release job (previous action deprecated)
Signed-off-by: Rosy-Glorious Miki <rmiki@redhat.com>
1 parent fc0d555 commit 83aa379

1 file changed

Lines changed: 4 additions & 8 deletions

File tree

.github/workflows/ci.yml

Lines changed: 4 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -3,13 +3,12 @@ on:
33
push:
44
branches:
55
- main
6-
- test-release-job
76
pull_request:
87

98
jobs:
109

1110
test-makefile:
12-
name: build and test makefile
11+
name: Build and test makefile
1312
runs-on: ubuntu-latest
1413
steps:
1514
- uses: actions/checkout@v6
@@ -20,11 +19,11 @@ jobs:
2019
run: |
2120
sudo apt-get update
2221
sudo apt-get install -y make tar diffutils bzip2 gzip curl git
23-
- name: run make
22+
- name: Run make
2423
run: make
2524

2625
test-fedora:
27-
name: build and test on Fedora latest
26+
name: Build and test on Fedora latest
2827
runs-on: ubuntu-latest
2928
container:
3029
image: quay.io/fedora/fedora:latest
@@ -43,7 +42,7 @@ jobs:
4342
version-release:
4443
runs-on: ubuntu-latest
4544
needs: [test-makefile, test-fedora]
46-
if: github.event_name == 'push' && github.ref == 'refs/heads/test-release-job'
45+
if: github.event_name == 'push' && github.ref == 'main'
4746
steps:
4847
- name: Github app installation token
4948
uses: actions/create-github-app-token@v2
@@ -59,8 +58,5 @@ jobs:
5958
token: ${{ steps.app-token.outputs.token }}
6059
- name: Semantic Release
6160
uses: cycjimmy/semantic-release-action@v6
62-
with:
63-
dry_run: true
64-
branches: "['test-release-job']"
6561
env:
6662
GITHUB_TOKEN: ${{ steps.app-token.outputs.token }}

0 commit comments

Comments
 (0)