diff --git a/.github/SECURITY.md b/.github/SECURITY.md index fa5e79f..43c4643 100644 --- a/.github/SECURITY.md +++ b/.github/SECURITY.md @@ -4,13 +4,13 @@ The following versions of `ergebnis/.github` have active support: -- `^1.9.0` +- `^1.9.2` ## Unsupported Versions The following versions of `ergebnis/.github` have reached their end of life: -- `<1.9.0` +- `<1.9.2` ## Reporting a Vulnerability diff --git a/.github/workflows/integrate.yaml b/.github/workflows/integrate.yaml index 78c66df..11a23e1 100644 --- a/.github/workflows/integrate.yaml +++ b/.github/workflows/integrate.yaml @@ -18,7 +18,7 @@ jobs: steps: - name: "Checkout" - uses: "actions/checkout@v4.1.6" + uses: "actions/checkout@v4.1.7" - name: "Lint YAML files" uses: "ibiqlik/action-yamllint@v3.1.1" diff --git a/.github/workflows/merge.yaml b/.github/workflows/merge.yaml index e6ca8cd..f2634dd 100644 --- a/.github/workflows/merge.yaml +++ b/.github/workflows/merge.yaml @@ -26,23 +26,23 @@ jobs: steps: - name: "Request review from @ergebnis-bot" - uses: "ergebnis/.github/actions/github/pull-request/request-review@1.9.0" + uses: "ergebnis/.github/actions/github/pull-request/request-review@1.9.1" with: github-token: "${{ secrets.ERGEBNIS_BOT_TOKEN }}" reviewer: "ergebnis-bot" - name: "Assign @ergebnis-bot" - uses: "ergebnis/.github/actions/github/pull-request/add-assignee@1.9.0" + uses: "ergebnis/.github/actions/github/pull-request/add-assignee@1.9.1" with: assignee: "ergebnis-bot" github-token: "${{ secrets.ERGEBNIS_BOT_TOKEN }}" - name: "Approve pull request" - uses: "ergebnis/.github/actions/github/pull-request/approve@1.9.0" + uses: "ergebnis/.github/actions/github/pull-request/approve@1.9.1" with: github-token: "${{ secrets.ERGEBNIS_BOT_TOKEN }}" - name: "Merge pull request" - uses: "ergebnis/.github/actions/github/pull-request/merge@1.9.0" + uses: "ergebnis/.github/actions/github/pull-request/merge@1.9.1" with: github-token: "${{ secrets.ERGEBNIS_BOT_TOKEN }}" diff --git a/.github/workflows/release.yaml b/.github/workflows/release.yaml index dc949a5..b807454 100644 --- a/.github/workflows/release.yaml +++ b/.github/workflows/release.yaml @@ -17,6 +17,6 @@ jobs: steps: - name: "Create release" - uses: "ergebnis/.github/actions/github/release/create@1.9.0" + uses: "ergebnis/.github/actions/github/release/create@1.9.1" with: github-token: "${{ secrets.ERGEBNIS_BOT_TOKEN }}" diff --git a/.github/workflows/triage.yaml b/.github/workflows/triage.yaml index 9a2c630..f8f2198 100644 --- a/.github/workflows/triage.yaml +++ b/.github/workflows/triage.yaml @@ -17,6 +17,6 @@ jobs: steps: - name: "Add labels based on branch name" - uses: "ergebnis/.github/actions/github/pull-request/add-label-based-on-branch-name@1.9.0" + uses: "ergebnis/.github/actions/github/pull-request/add-label-based-on-branch-name@1.9.1" with: github-token: "${{ secrets.ERGEBNIS_BOT_TOKEN }}" diff --git a/CHANGELOG.md b/CHANGELOG.md index a1b196d..fc124cd 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -6,7 +6,23 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/), ## Unreleased -For a full diff see [`1.9.0...main`][1.9.0...main]. +For a full diff see [`1.9.2...main`][1.9.2...main]. + +## [`1.9.2`][1.9.2] + +For a full diff see [`1.9.1...1.9.2`][1.9.1...1.9.2]. + +### Fixed + +- Expose `PULL_REQUEST_BRANCH_NAME` instead of overwriting `PULL_REQUEST_NUMBER` environment variable when adding label based on branch name ([#194]), by [@jaymecd] + +## [`1.9.1`][1.9.1] + +For a full diff see [`1.9.0...1.9.1`][1.9.0...1.9.1]. + +### Fixed + +- Fixed invalid attempt to calculate cache key for `phars.xml` with `hashfiles()` function ([#197]), by [@lotyp] ## [`1.9.0`][1.9.0] @@ -148,7 +164,9 @@ For a full diff see [`1.0.0...main`][1.0.0...main]. [1.6.0]: https://github.com/ergebnis/.github/releases/tag/1.6.0 [1.7.0]: https://github.com/ergebnis/.github/releases/tag/1.7.0 [1.8.0]: https://github.com/ergebnis/.github/releases/tag/1.8.0 -[1.9.0]: https://github.com/ergebnis/.github/releases/tag/1.8.0 +[1.9.0]: https://github.com/ergebnis/.github/releases/tag/1.9.0 +[1.9.1]: https://github.com/ergebnis/.github/releases/tag/1.9.1 +[1.9.2]: https://github.com/ergebnis/.github/releases/tag/1.9.2 [ca7f15d...1.0.0]: https://github.com/ergebnis/.github/compare/ca7f15d...1.0.0 [1.0.0...1.1.0]: https://github.com/ergebnis/.github/compare/1.0.0...1.1.0 @@ -165,7 +183,9 @@ For a full diff see [`1.0.0...main`][1.0.0...main]. [1.6.0...1.7.0]: https://github.com/ergebnis/.github/compare/1.6.0...1.7.0 [1.7.0...1.8.0]: https://github.com/ergebnis/.github/compare/1.7.0...1.8.0 [1.8.0...1.9.0]: https://github.com/ergebnis/.github/compare/1.8.0...1.9.0 -[1.9.0...main]: https://github.com/ergebnis/.github/compare/1.9.0...main +[1.9.0...1.9.1]: https://github.com/ergebnis/.github/compare/1.9.0...1.9.1 +[1.9.1...1.9.2]: https://github.com/ergebnis/.github/compare/1.9.1...1.9.2 +[1.9.2...main]: https://github.com/ergebnis/.github/compare/1.9.2...main [#47]: https://github.com/ergebnis/.github/pull/47 [#48]: https://github.com/ergebnis/.github/pull/48 @@ -187,5 +207,9 @@ For a full diff see [`1.0.0...main`][1.0.0...main]. [#124]: https://github.com/ergebnis/.github/pull/124 [#142]: https://github.com/ergebnis/.github/pull/142 [#183]: https://github.com/ergebnis/.github/pull/183 +[#194]: https://github.com/ergebnis/.github/pull/194 +[#197]: https://github.com/ergebnis/.github/pull/197 +[@jaymecd]: https://github.com/jaymecd [@localheinz]: https://github.com/localheinz +[@lotyp]: https://github.com/lotyp diff --git a/actions/github/pull-request/add-label-based-on-branch-name/action.yaml b/actions/github/pull-request/add-label-based-on-branch-name/action.yaml index ea2346c..e753ad1 100644 --- a/actions/github/pull-request/add-label-based-on-branch-name/action.yaml +++ b/actions/github/pull-request/add-label-based-on-branch-name/action.yaml @@ -35,7 +35,7 @@ runs: if (context.eventName == 'workflow_run') { core.exportVariable("PULL_REQUEST_NUMBER", context.payload.workflow_run.pull_requests[0].number); - core.exportVariable("PULL_REQUEST_NUMBER", context.payload.workflow_run.pull_requests[0].head.ref); + core.exportVariable("PULL_REQUEST_BRANCH_NAME", context.payload.workflow_run.pull_requests[0].head.ref); return; }