-
Notifications
You must be signed in to change notification settings - Fork 5
42 lines (35 loc) · 1006 Bytes
/
push.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
name: Push Events
on:
push:
branches:
- main
permissions:
contents: write
pull-requests: write
concurrency:
group: ${{ github.workflow }}-${{ github.head_ref || github.ref }}
cancel-in-progress: true
jobs:
release:
name: Release PR
runs-on: ubuntu-latest
steps:
- name: 🪙 Convert token
uses: actions/create-github-app-token@v1
id: app-token
with:
owner: ${{ github.repository_owner }}
repositories: "api.mapserv.utah.gov"
app-id: ${{ secrets.UGRC_RELEASE_BOT_APP_ID }}
private-key: ${{ secrets.UGRC_RELEASE_BOT_APP_KEY }}
- name: ⬇️ Set up code
uses: actions/checkout@v4
with:
show-progress: false
fetch-depth: 0
token: ${{ steps.app-token.outputs.token }}
- name: 🚀 Create release
uses: googleapis/release-please-action@v4
id: release-please
with:
token: ${{ steps.app-token.outputs.token }}