From 30e8e5119c577c640cfa4cdedb21f8f103dad593 Mon Sep 17 00:00:00 2001 From: Gergely Brautigam <182850+Skarlso@users.noreply.github.com> Date: Tue, 29 Oct 2024 16:26:31 +0100 Subject: [PATCH] chore: release and remove annoying github actions (#545) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit ## Description Please include a summary of the changes and the related issue. Please also include relevant motivation and context. List any dependencies that are required for this change. ## What type of PR is this? (check all applicable) - [ ] 🍕 Feature - [ ] 🐛 Bug Fix - [ ] 📝 Documentation Update - [ ] 🎨 Style - [ ] 🧑‍💻 Code Refactor - [ ] 🔥 Performance Improvements - [ ] ✅ Test - [ ] 🤖 Build - [ ] 🔁 CI - [ ] 📦 Chore (Release) - [ ] ⏩ Revert ## Related Tickets & Documents - Related Issue # (issue) - Closes # (issue) - Fixes # (issue) > Remove if not applicable ## Screenshots ## Added tests? - [ ] 👍 yes - [ ] 🙅 no, because they aren't needed - [ ] 🙋 no, because I need help - [ ] Separate ticket for tests # (issue/pr) Please describe the tests that you ran to verify your changes. Provide instructions so we can reproduce. Please also list any relevant details for your test configuration ## Added to documentation? - [ ] 📜 README.md - [ ] 🙅 no documentation needed ## Checklist: - [ ] My code follows the style guidelines of this project - [ ] I have performed a self-review of my code - [ ] I have commented my code, particularly in hard-to-understand areas - [ ] I have made corresponding changes to the documentation - [ ] My changes generate no new warnings - [ ] I have added tests that prove my fix is effective or that my feature works - [ ] New and existing unit tests pass locally with my changes - [ ] Any dependent changes have been merged and published in downstream modules --- .../workflows/assign_issues_to_project.yaml | 31 ------------------- .../workflows/caretaker_slash_commands.yaml | 31 ------------------- .github/workflows/flip_back_issue.yaml | 29 ----------------- docs/release_notes/v0.25.0.md | 3 ++ pkg/version/release.go | 2 +- 5 files changed, 4 insertions(+), 92 deletions(-) delete mode 100644 .github/workflows/assign_issues_to_project.yaml delete mode 100644 .github/workflows/caretaker_slash_commands.yaml delete mode 100644 .github/workflows/flip_back_issue.yaml create mode 100644 docs/release_notes/v0.25.0.md diff --git a/.github/workflows/assign_issues_to_project.yaml b/.github/workflows/assign_issues_to_project.yaml deleted file mode 100644 index 0bbf94a9..00000000 --- a/.github/workflows/assign_issues_to_project.yaml +++ /dev/null @@ -1,31 +0,0 @@ -name: Scan Pull Request Activity - -on: - schedule: - - cron: '0 1 * * *' - workflow_dispatch: {} - -permissions: - contents: read - issues: read - -jobs: - scan: - runs-on: ubuntu-latest - steps: - - name: Generate token - id: generate_token - uses: tibdex/github-app-token@v2 - with: - app_id: ${{ secrets.OCMBOT_APP_ID }} - private_key: ${{ secrets.OCMBOT_PRIV_KEY }} - - name: scan pull request activity - uses: skarlso/caretaker@v0.6.0 - with: - command: scan - owner: open-component-model - repo: ocm-controller - isOrganization: true - token: ${{ steps.generate_token.outputs.token }} - statusOption: 👀 In review - pullRequestProcessedLabel: caretaker-checked # a label to mark the pull request as seen \ No newline at end of file diff --git a/.github/workflows/caretaker_slash_commands.yaml b/.github/workflows/caretaker_slash_commands.yaml deleted file mode 100644 index 9a604451..00000000 --- a/.github/workflows/caretaker_slash_commands.yaml +++ /dev/null @@ -1,31 +0,0 @@ -name: Watch for Slash commands - -on: issue_comment - -permissions: - contents: read - issues: read - -jobs: - slash-command: - runs-on: ubuntu-latest - if: ${{ github.event.issue.pull_request }} - steps: - - name: Generate token - id: generate_token - uses: tibdex/github-app-token@v2 - with: - app_id: ${{ secrets.OCMBOT_APP_ID }} - private_key: ${{ secrets.OCMBOT_PRIV_KEY }} - - name: watch for slash commands from users - uses: skarlso/caretaker@v0.6.0 - with: - command: slash - owner: open-component-model - repo: ocm-controller - isOrganization: true - token: ${{ steps.generate_token.outputs.token }} - pullRequestNumber: ${{ github.event.issue.number }} - actor: ${{ github.actor }} - commentBody: ${{ github.event.comment.body }} - commentID: ${{ github.event.comment.node_id }} diff --git a/.github/workflows/flip_back_issue.yaml b/.github/workflows/flip_back_issue.yaml deleted file mode 100644 index f3b55ab1..00000000 --- a/.github/workflows/flip_back_issue.yaml +++ /dev/null @@ -1,29 +0,0 @@ -name: Flip-back issues to In Progress - -on: - pull_request: {} - -permissions: - contents: read - issues: read - -jobs: - flip: - runs-on: ubuntu-latest - steps: - - name: Generate token - id: generate_token - uses: tibdex/github-app-token@v2 - with: - app_id: ${{ secrets.OCMBOT_APP_ID }} - private_key: ${{ secrets.OCMBOT_PRIV_KEY }} - - name: flip any related issues - uses: skarlso/caretaker@v0.6.0 - with: - command: pull-request-updated - owner: open-component-model - repo: ocm-controller - isOrganization: true - token: ${{ steps.generate_token.outputs.token }} - statusOption: 🏗 In progress # this needs to be an option you want the issue to land in - pullRequestNumber: ${{ github.event.pull_request.number }} diff --git a/docs/release_notes/v0.25.0.md b/docs/release_notes/v0.25.0.md new file mode 100644 index 00000000..8168b136 --- /dev/null +++ b/docs/release_notes/v0.25.0.md @@ -0,0 +1,3 @@ +# Release 0.25.0 + +- Issue 68 helm charts difficult to consume take2 (#490) diff --git a/pkg/version/release.go b/pkg/version/release.go index e413db67..f2c89f0f 100644 --- a/pkg/version/release.go +++ b/pkg/version/release.go @@ -5,7 +5,7 @@ package version // ReleaseVersion is the version number in semver format "vX.Y.Z", prefixed with "v". -var ReleaseVersion = "v0.24.13" +var ReleaseVersion = "v0.25.0" // ReleaseCandidate is the release candidate ID in format "rc.X", which will be appended to the release version. var ReleaseCandidate = "rc.1"