Skip to content

Commit d3e8024

Browse files
committed
add auto release process
1 parent 9ae99c7 commit d3e8024

File tree

2 files changed

+15
-2
lines changed

2 files changed

+15
-2
lines changed

.github/workflows/lint.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
name: Linting
22

33
on:
4+
workflow_dispatch:
45
pull_request:
56
paths:
67
- 'geotrek/**' # if geotrek code change

.github/workflows/release.yml

Lines changed: 14 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
name: Realese process
1+
name: Release process
22

33
on:
44
workflow_run:
@@ -18,9 +18,21 @@ concurrency:
1818
cancel-in-progress: true
1919

2020
jobs:
21+
run_other_workflows:
22+
name: Run other workflows
23+
runs-on: ubuntu-latest
24+
steps:
25+
- name: Trigger Test CI workflow
26+
uses: benc-uk/workflow-dispatch@v1
27+
with:
28+
workflow: Linting'
29+
repo: ${{ github.repository }}
30+
ref: 'master'
31+
token: ${{ secrets.GITHUB_TOKEN }}
32+
2133
deploy:
2234
name: Publish
23-
if: ${{ github.event.workflow_run.conclusion == 'success' }}
35+
needs: [run_other_workflows]
2436
runs-on: ubuntu-latest
2537
steps:
2638
- uses: actions/checkout@v5

0 commit comments

Comments
 (0)