-
Notifications
You must be signed in to change notification settings - Fork 488
45 lines (45 loc) · 1.54 KB
/
bump-formula-pr.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
name: bump-formula-pr
on:
# Allows you to run this workflow manually from the Actions tab
workflow_dispatch:
push:
tags:
- 'v*'
- '!v*-rc*' # Ignore release candidates
jobs:
homebrew-core:
name: homebrew-core
runs-on: macos-latest
steps:
- name: Update Homebrew formula
uses: dawidd6/action-homebrew-bump-formula@v3
with:
# Required, custom GitHub access token with the 'public_repo' and 'workflow' scopes
token: ${{secrets.HOMEBREW_FORMULA_GH_TOKEN}}
# Formula name, required
formula: grafana-agent
# Optional, will be determined automatically
tag: ${{github.ref}}
# Optional, will be determined automatically
revision: ${{github.sha}}
# Optional, if don't want to check for already open PRs
force: false # true
homebrew-grafana:
name: homebrew-grafana
runs-on: macos-latest
steps:
- name: Update Homebrew formula
uses: dawidd6/action-homebrew-bump-formula@v3
with:
# Required, custom GitHub access token with the 'public_repo' and 'workflow' scopes
token: ${{secrets.HOMEBREW_FORMULA_GH_TOKEN}}
# Optional, defaults to homebrew/core
tap: grafana/grafana
# Formula name, required
formula: grafana-agent-flow
# Optional, will be determined automatically
tag: ${{github.ref}}
# Optional, will be determined automatically
revision: ${{github.sha}}
# Optional, if don't want to check for already open PRs
force: false # true