-
Notifications
You must be signed in to change notification settings - Fork 10
36 lines (31 loc) · 969 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: google-github-actions/release-please-action@a2d8d683f209466ee8c695cd994ae2cf08b1642d
with:
token: ${{ secrets.GITHUB_TOKEN }}
config-file: .github/release-please-config.json
manifest-file: .github/.release-please-manifest.json