Skip to content

Commit

Permalink
test workflows release
Browse files Browse the repository at this point in the history
  • Loading branch information
MozeBaltyk committed Jan 14, 2024
1 parent db780c9 commit a83b495
Show file tree
Hide file tree
Showing 4 changed files with 25 additions and 19 deletions.
18 changes: 1 addition & 17 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,28 +2,12 @@ name: Release on Ansible Galaxy
on:
workflow_dispatch:
push:
branches: ["develop"]
branches: ["main"]
pull_request:
# The branches below must be a subset of the branches above
branches: [ "develop" ]

jobs:
readme:
runs-on: ubuntu-latest
name: Update Versions

if: github.repository == 'mozebaltyk/rkub'
permissions:
actions: write
checks: write
contents: write

steps:
- uses: actions/checkout@v4

- name: Update Readme and changelog
uses: ./.github/actions/update-readme

release:
runs-on: ubuntu-latest
name: Release to Galaxy
Expand Down
22 changes: 22 additions & 0 deletions .github/workflows/version.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
name: Release on Ansible Galaxy
on:
workflow_dispatch:
push:
branches: ["develop"]

jobs:
readme:
runs-on: ubuntu-latest
name: Update Versions

if: github.repository == 'mozebaltyk/rkub'
permissions:
actions: write
checks: write
contents: write

steps:
- uses: actions/checkout@v4

- name: Update Readme and changelog
uses: ./.github/actions/update-readme
2 changes: 1 addition & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,6 @@ Features ✨
- Deploy longhorn with custom datapath.
- Deploy Rancher with custom password.
- Deploy Neuvector.
- Github Workflows to release.
- Script to containerize in an Execution-Env.
<!-- End Features -->

Expand All @@ -41,4 +40,5 @@ Bugfix 🐞
<!-- Security -->
Security 🔒️
- Branch protect
- Github Workflows to release.
<!-- End Security -->
2 changes: 1 addition & 1 deletion galaxy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
### REQUIRED
namespace: mozebaltyk
name: rkub
version: 1.0.1
version: 1.0.2

readme: README.md

Expand Down

0 comments on commit a83b495

Please sign in to comment.