Skip to content

Commit abcee73

Browse files
ci: release revamp (#58)
1 parent 9613089 commit abcee73

1 file changed

Lines changed: 7 additions & 5 deletions

File tree

‎.github/workflows/release.yaml‎

Lines changed: 7 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -11,22 +11,24 @@ on:
1111
default: ''
1212

1313
permissions:
14-
contents: write
14+
contents: read
1515

1616
jobs:
1717
release:
1818
runs-on: ubuntu-latest
19+
environment: release
1920
steps:
2021
- name: Get GitHub token
21-
uses: actions/create-github-app-token@v3
22+
uses: actions/create-github-app-token@64ab729a6294000f5aa4a4bc0b73d1f32bc45510 # v3.3.0
2223
id: get_token
2324
with:
24-
app-id: ${{ secrets.HOSTINGERBOT_APP_ID }}
25-
private-key: ${{ secrets.HOSTINGERBOT_PRIVATE_KEY }}
26-
owner: hostinger
25+
client-id: ${{ secrets.HOSTINGERBOT_PUBLIC_CLIENT_ID }}
26+
private-key: ${{ secrets.HOSTINGERBOT_PUBLIC_PRIVATE_KEY }}
27+
owner: ${{ github.repository_owner }}
2728
repositories: |
2829
api-cli
2930
homebrew-tap
31+
permission-contents: write
3032

3133
- name: Repo checkout
3234
uses: actions/checkout@v7

0 commit comments

Comments
 (0)