Skip to content

Commit c2aa768

Browse files
committed
chore:automations
1 parent 89c2e85 commit c2aa768

File tree

13 files changed

+102
-423
lines changed

13 files changed

+102
-423
lines changed
Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
# auto add labels to PRs
2+
on:
3+
pull_request_target:
4+
types: [ opened, edited ]
5+
name: conventional-release-labels
6+
jobs:
7+
label:
8+
runs-on: ubuntu-latest
9+
steps:
10+
- uses: bcoe/conventional-release-labels@v1

.github/workflows/dev2master.yml

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

.github/workflows/publish_alpha.yml

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

.github/workflows/publish_build.yml

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

.github/workflows/publish_major.yml

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

.github/workflows/publish_minor.yml

Lines changed: 0 additions & 76 deletions
This file was deleted.
Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,29 @@
1+
name: Stable Release
2+
on:
3+
push:
4+
branches: [master]
5+
workflow_dispatch:
6+
7+
jobs:
8+
publish_stable:
9+
uses: TigreGotico/gh-automations/.github/workflows/publish-stable.yml@master
10+
with:
11+
branch: 'master'
12+
version_file: 'ovos_media_plugin_spotify/version.py'
13+
setup_py: 'setup.py'
14+
publish_release: true
15+
16+
sync_dev:
17+
needs: publish_stable
18+
if: success() # Ensure this job only runs if the previous job succeeds
19+
runs-on: ubuntu-latest
20+
steps:
21+
- uses: actions/checkout@v2
22+
with:
23+
fetch-depth: 0 # otherwise, there would be errors pushing refs to the destination repository.
24+
ref: master
25+
- name: Push master -> dev
26+
uses: ad-m/github-push-action@master
27+
with:
28+
github_token: ${{ secrets.GITHUB_TOKEN }}
29+
branch: dev

0 commit comments

Comments
 (0)