Skip to content

Commit 5771884

Browse files
committed
Move to organization level github actions
1 parent f004279 commit 5771884

File tree

3 files changed

+83
-19
lines changed

3 files changed

+83
-19
lines changed

.github/workflows/codecov.yml

Lines changed: 0 additions & 19 deletions
This file was deleted.

.github/workflows/julia_ci.yml

Lines changed: 50 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,50 @@
1+
name: Julia CI/CD
2+
3+
on:
4+
schedule:
5+
- cron: 0 0 * * *
6+
push:
7+
branches: ["main"]
8+
tags: ["*"]
9+
pull_request:
10+
workflow_dispatch:
11+
inputs:
12+
action:
13+
description: "Action"
14+
required: true
15+
default: "test"
16+
type: choice
17+
options:
18+
- test
19+
- release
20+
version:
21+
description: "Tag and release version:"
22+
required: false
23+
24+
permissions:
25+
actions: read
26+
checks: read
27+
contents: write
28+
deployments: read
29+
discussions: read
30+
issues: read
31+
packages: read
32+
pages: read
33+
pull-requests: write
34+
repository-projects: read
35+
security-events: read
36+
statuses: read
37+
38+
jobs:
39+
CI:
40+
if: github.event_name == 'pull_request' || github.event_name == 'push' || (github.event_name == 'workflow_dispatch' && inputs.action == 'test')
41+
uses: AlgebraicJulia/.github/.github/workflows/julia_ci.yml@main
42+
secrets: inherit
43+
CompatHelper:
44+
if: github.event_name == 'schedule'
45+
uses: AlgebraicJulia/.github/.github/workflows/julia_compat.yml@main
46+
secrets: inherit
47+
Release:
48+
if: github.event_name == 'workflow_dispatch' && inputs.action == 'release' && inputs.version != ''
49+
uses: AlgebraicJulia/.github/.github/workflows/julia_release.yml@main
50+
secrets: inherit

.github/workflows/tagbot.yml

Lines changed: 33 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,33 @@
1+
name: TagBot
2+
on:
3+
issue_comment:
4+
types:
5+
- created
6+
workflow_dispatch:
7+
inputs:
8+
lookback:
9+
default: 3
10+
permissions:
11+
actions: read
12+
checks: read
13+
contents: write
14+
deployments: read
15+
issues: read
16+
discussions: read
17+
packages: read
18+
pages: read
19+
pull-requests: read
20+
repository-projects: read
21+
security-events: read
22+
statuses: read
23+
jobs:
24+
TagBot:
25+
if: github.event_name == 'workflow_dispatch' || github.actor == 'JuliaTagBot'
26+
runs-on: ubuntu-latest
27+
steps:
28+
- uses: JuliaRegistries/TagBot@v1
29+
with:
30+
token: ${{ secrets.GITHUB_TOKEN }}
31+
# Edit the following line to reflect the actual name of the GitHub Secret containing your private key
32+
ssh: ${{ secrets.DOCUMENTER_KEY }}
33+
# ssh: ${{ secrets.NAME_OF_MY_SSH_PRIVATE_KEY_SECRET }}

0 commit comments

Comments
 (0)