-
Notifications
You must be signed in to change notification settings - Fork 10
36 lines (31 loc) · 967 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
name: Push
on:
push:
# Only ever run `push` events against protected branches, likely just `main`
branches:
- main
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
jobs:
test:
name: Run tests
uses: ./.github/workflows/reusable-test.yml
examples:
name: Build examples
uses: ./.github/workflows/reusable-examples.yml
release:
runs-on: ubuntu-latest
# Release Please is very fast, so we set a tiny timeout
timeout-minutes: 1
# Release Please creates a Pull Request with changes to files
permissions:
contents: write
pull-requests: write
steps:
- name: Release Please
uses: googleapis/release-please-action@7987652d64b4581673a76e33ad5e98e3dd56832f # v4.1.3
with:
token: ${{ secrets.GITHUB_TOKEN }}
config-file: .github/release-please-config.json
manifest-file: .github/.release-please-manifest.json