Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions .github/workflows/release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,9 @@
push:
branches: [main]

permissions:
contents: write

jobs:
e2e-tests-olm:
runs-on: ubuntu-latest
Expand Down Expand Up @@ -36,7 +39,7 @@

- name: Set version
id: version
run: |

Check warning on line 42 in .github/workflows/release.yaml

View workflow job for this annotation

GitHub Actions / Lint Github Action

[actionlint] reported by reviewdog 🐶 shellcheck reported issue in this script: SC2086:info:3:28: Double quote to prevent globbing and word splitting [shellcheck] Raw Output: i:.github/workflows/release.yaml:42:9: shellcheck reported issue in this script: SC2086:info:3:28: Double quote to prevent globbing and word splitting [shellcheck]
npx standard-version --skip.commit --skip.tag --skip.changelog
version="$(cat VERSION)-$(date +%y%m%d%H%M%S)"
echo "version=$version" >> $GITHUB_OUTPUT
Expand Down Expand Up @@ -99,7 +102,7 @@
check-latest: true

- name: Generate release notes
run: |

Check warning on line 105 in .github/workflows/release.yaml

View workflow job for this annotation

GitHub Actions / Lint Github Action

[actionlint] reported by reviewdog 🐶 shellcheck reported issue in this script: SC2046:warning:5:16: Quote this to prevent word splitting [shellcheck] Raw Output: w:.github/workflows/release.yaml:105:9: shellcheck reported issue in this script: SC2046:warning:5:16: Quote this to prevent word splitting [shellcheck]
# Create the release notes for the Github release
git config user.name rhobs-release-bot
git config user.email release-bot@monitoring.rhobs.io
Expand All @@ -109,7 +112,7 @@

- name: Publish tag
id: publish_tag
run: |

Check warning on line 115 in .github/workflows/release.yaml

View workflow job for this annotation

GitHub Actions / Lint Github Action

[actionlint] reported by reviewdog 🐶 shellcheck reported issue in this script: SC2086:info:4:52: Double quote to prevent globbing and word splitting [shellcheck] Raw Output: i:.github/workflows/release.yaml:115:9: shellcheck reported issue in this script: SC2086:info:4:52: Double quote to prevent globbing and word splitting [shellcheck]
# NOTE tag is created by standard-version and points to the
# chore(release): commit
git push --follow-tags
Expand Down