Skip to content

Commit 8c58d6d

Browse files
committed
Add fledge workflow
1 parent 41c7508 commit 8c58d6d

File tree

1 file changed

+45
-0
lines changed

1 file changed

+45
-0
lines changed

.github/workflows/fledge.yaml

Lines changed: 45 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,45 @@
1+
name: fledge
2+
3+
on:
4+
# for manual triggers
5+
workflow_dispatch:
6+
# for debugging
7+
push:
8+
paths:
9+
- .github/workflows/fledge.yaml
10+
# daily run
11+
schedule:
12+
- cron: "30 0 * * *"
13+
14+
concurrency:
15+
group: ${{ github.workflow }}-${{ github.ref }}-${{ github.head_ref || '' }}-${{ github.base_ref || '' }}
16+
cancel-in-progress: true
17+
18+
jobs:
19+
fledge:
20+
runs-on: ubuntu-latest
21+
permissions:
22+
contents: write
23+
env:
24+
GITHUB_PAT: ${{ secrets.GITHUB_TOKEN }}
25+
FLEDGE_GHA_CI: true
26+
steps:
27+
- uses: actions/checkout@v2
28+
with:
29+
fetch-depth: 0
30+
31+
- uses: ./.github/workflows/git-identity
32+
33+
- uses: ./.github/workflows/install
34+
with:
35+
token: ${{ secrets.GITHUB_TOKEN }}
36+
install-r: false
37+
cache-version: fledge-1
38+
extra-packages: cynkra/fledge
39+
40+
- name: Bump version
41+
run: |
42+
if (fledge::bump_version(which = "dev", no_change_behavior = "noop")) {
43+
fledge::finalize_version(push = TRUE)
44+
}
45+
shell: Rscript {0}

0 commit comments

Comments
 (0)