From 82b84e05b83ca450ddb63aee47af77ef91d73c60 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Wed, 21 Feb 2024 10:23:47 +0100 Subject: [PATCH 1/2] Bump the ci group with 2 updates (#663) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Bumps the ci group with 2 updates: [8BitJonny/gh-get-current-pr](https://github.com/8bitjonny/gh-get-current-pr) and [thollander/actions-comment-pull-request](https://github.com/thollander/actions-comment-pull-request). Updates `8BitJonny/gh-get-current-pr` from 2.2.0 to 3.0.0
Release notes

Sourced from 8BitJonny/gh-get-current-pr's releases.

v3.0.0

🤖 Dependency Updates

Full Changelog: https://github.com/8BitJonny/gh-get-current-pr/compare/2.2.0...v3.0.0

Contributors: @​8BitJonny, @​dargmuesli, @​dependabot and @​dependabot[bot]

Commits

Updates `thollander/actions-comment-pull-request` from 2.4.3 to 2.5.0
Release notes

Sourced from thollander/actions-comment-pull-request's releases.

v2.4.3 : Node 20 version support

What's Changed

Full Changelog: https://github.com/thollander/actions-comment-pull-request/compare/v2.4.3...v2.5.0

Commits

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting `@dependabot rebase`. [//]: # (dependabot-automerge-start) [//]: # (dependabot-automerge-end) ---
Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR: - `@dependabot rebase` will rebase this PR - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `@dependabot merge` will merge this PR after your CI passes on it - `@dependabot squash and merge` will squash and merge this PR after your CI passes on it - `@dependabot cancel merge` will cancel a previously requested merge and block automerging - `@dependabot reopen` will reopen this PR if it is closed - `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually - `@dependabot show ignore conditions` will show all of the ignore conditions of the specified dependency - `@dependabot ignore major version` will close this group update PR and stop Dependabot creating any more for the specific dependency's major version (unless you unignore this specific dependency's major version or upgrade to it yourself) - `@dependabot ignore minor version` will close this group update PR and stop Dependabot creating any more for the specific dependency's minor version (unless you unignore this specific dependency's minor version or upgrade to it yourself) - `@dependabot ignore ` will close this group update PR and stop Dependabot creating any more for the specific dependency (unless you unignore this specific dependency or upgrade to it yourself) - `@dependabot unignore ` will remove all of the ignore conditions of the specified dependency - `@dependabot unignore ` will remove the ignore condition of the specified dependency and ignore conditions
Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Gerald Morrison <67469729+morri-son@users.noreply.github.com> --- .github/workflows/mend_scan.yaml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/mend_scan.yaml b/.github/workflows/mend_scan.yaml index 60c4c51441..36868807ab 100644 --- a/.github/workflows/mend_scan.yaml +++ b/.github/workflows/mend_scan.yaml @@ -174,7 +174,7 @@ jobs: fi - name: Check if PR exists - uses: 8BitJonny/gh-get-current-pr@2.2.0 + uses: 8BitJonny/gh-get-current-pr@3.0.0 id: pr_exists with: filterOutClosed: true @@ -182,7 +182,7 @@ jobs: - name: Comment Mend Status on PR if: ${{ github.event_name != 'schedule' && steps.pr_exists.outputs.pr_found == 'true' }} - uses: thollander/actions-comment-pull-request@v2.4.3 + uses: thollander/actions-comment-pull-request@v2.5.0 with: message: | ## Mend Scan Summary: :${{ steps.report.outputs.status }}: From 944ddecf1b9ef205b3b3287c56f56e44be7f26c4 Mon Sep 17 00:00:00 2001 From: Hilmar Falkenberg Date: Wed, 21 Feb 2024 10:23:57 +0100 Subject: [PATCH 2/2] let's run only, where we have API key available (#667) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit ## Description mend scans on forks are never successful e.g. https://github.com/hilmarf/ocm/actions/runs/7945515639/job/21692267352 `-apiKey $API_KEY` is of course missing So maybe we should consider NOT to trigger scan from forks? ## What type of PR is this? (check all applicable) - [ ] 🍕 Feature - [ ] 🐛 Bug Fix - [ ] 📝 Documentation Update - [ ] 🎨 Style - [ ] 🧑‍💻 Code Refactor - [ ] 🔥 Performance Improvements - [ ] ✅ Test - [x] 🤖 Build - [x] 🔁 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 Co-authored-by: Gerald Morrison <67469729+morri-son@users.noreply.github.com> --- .github/workflows/mend_scan.yaml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/mend_scan.yaml b/.github/workflows/mend_scan.yaml index 36868807ab..9102174fc4 100644 --- a/.github/workflows/mend_scan.yaml +++ b/.github/workflows/mend_scan.yaml @@ -25,6 +25,7 @@ on: - debug jobs: mend-scan: + if: github.repository == 'open-component-model/ocm' runs-on: ubuntu-latest permissions: pull-requests: write