Skip to content

Commit f1e2074

Browse files
authored
Merge pull request #7 from scribd/helen/SERF-2483/fix-release
[SERF-2483] Fix the release workflow with correct tokens
2 parents c7c1755 + 450612f commit f1e2074

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

.github/workflows/release.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ name: Release
33
on:
44
workflow_run:
55
workflows:
6-
- Test
6+
- CI
77
branches:
88
- main
99
types:
@@ -27,12 +27,12 @@ jobs:
2727
@semantic-release/[email protected]
2828
@semantic-release/[email protected]
2929
env:
30-
GITHUB_TOKEN: ${{ secrets.SCRIBD_GITHUB_GENERIC_TOKEN }}
30+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
3131

3232
- name: Send notification
3333
if: steps.semantic.outputs.new_release_published == 'true'
3434
uses: scribd/job-notification@main
3535
with:
36-
token: ${{ secrets.SCRIBD_SLACK_GENERIC_TOKEN }}
36+
token: ${{ secrets.SCRIBD_SLACK_GENERIC_TOKEN_PUBLIC }}
3737
channel: service-foundations-release
3838
message: <https://github.com/${{ github.repository }}/tree/v${{ steps.semantic.outputs.new_release_version }}|Released version v${{ steps.semantic.outputs.new_release_version }}>

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# job-notification
22

3-
[![Test](https://github.com/scribd/job-notification/actions/workflows/test.yml/badge.svg?branch=main&event=push)](https://github.com/scribd/job-notification/actions/workflows/test.yml) [![semantic-release: angular](https://img.shields.io/badge/semantic--release-angular-e10079?logo=semantic-release)](https://github.com/semantic-release/semantic-release)
3+
[![CI](https://github.com/scribd/job-notification/actions/workflows/ci.yml/badge.svg?branch=main&event=push)](https://github.com/scribd/job-notification/actions/workflows/test.yml) [![semantic-release: angular](https://img.shields.io/badge/semantic--release-angular-e10079?logo=semantic-release)](https://github.com/semantic-release/semantic-release)
44

55
A GitHub Action for sending job notifications
66

0 commit comments

Comments
 (0)