-
Notifications
You must be signed in to change notification settings - Fork 5
53 lines (46 loc) · 1.67 KB
/
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
43
44
45
46
47
48
49
50
51
52
53
name: Push Events
on:
push:
branches:
- development
permissions:
contents: write
pull-requests: write
concurrency:
group: ${{ github.workflow }}-${{ github.head_ref || github.ref }}
cancel-in-progress: true
jobs:
release:
name: Create Release
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: google-github-actions/release-please-action@v3
id: release-please
with:
token: ${{ steps.app-token.outputs.token }}
changelog-types: >
[{"type":"feat","section":"🚀 Features","hidden":false},
{"type":"fix","section":"🐛 Bug Fixes","hidden":false},
{"type":"deps","section":"🌲 Dependencies","hidden":false},
{"type":"docs","section":"📖 Documentation Improvements","hidden":false},
{"type":"style","section":"🎨 Design Improvements","hidden":false},
{"type":"ci","section":"⚙️ Continuous Integration Changes","hidden":true},
{"type":"chore","section":"🧰 Maintenance","hidden":true}]
default-branch: ${{ github.ref_name }}
monorepo-tags: true
command: manifest