This is an automated email from the ASF dual-hosted git repository. sjaranowski pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/maven-surefire.git
The following commit(s) were added to refs/heads/master by this push: new 6842b89c8 Add GitHub Automation actions 6842b89c8 is described below commit 6842b89c8ceaefeb94709197ec4b99b2b7727b09 Author: Slawomir Jaranowski <s.jaranow...@gmail.com> AuthorDate: Sun Feb 23 09:26:58 2025 +0100 Add GitHub Automation actions --- .github/release-drafter.yml | 2 +- .../{release-drafter.yml => pr-automation.yml} | 16 +++++++++------- .github/workflows/release-drafter.yml | 2 ++ .github/workflows/{release-drafter.yml => stale.yml} | 17 ++++++++++------- 4 files changed, 22 insertions(+), 15 deletions(-) diff --git a/.github/release-drafter.yml b/.github/release-drafter.yml index fe782c938..397c693bd 100644 --- a/.github/release-drafter.yml +++ b/.github/release-drafter.yml @@ -16,4 +16,4 @@ # under the License. _extends: maven-gh-actions-shared -tag-template: maven-surefire-$NEXT_MINOR_VERSION +tag-template: maven-surefire-$RESOLVED_VERSION diff --git a/.github/workflows/release-drafter.yml b/.github/workflows/pr-automation.yml similarity index 80% copy from .github/workflows/release-drafter.yml copy to .github/workflows/pr-automation.yml index 1049eaa36..530759572 100644 --- a/.github/workflows/release-drafter.yml +++ b/.github/workflows/pr-automation.yml @@ -14,12 +14,14 @@ # KIND, either express or implied. See the License for the # specific language governing permissions and limitations # under the License. - -name: Release Drafter + +name: PR Automation on: - push: - branches: - - master + pull_request_target: + types: + - closed + jobs: - update_release_draft: - uses: apache/maven-gh-actions-shared/.github/workflows/release-drafter.yml@v4 + pr-automation: + name: PR Automation + uses: apache/maven-gh-actions-shared/.github/workflows/pr-automation.yml@v4 diff --git a/.github/workflows/release-drafter.yml b/.github/workflows/release-drafter.yml index 1049eaa36..96eaa60a0 100644 --- a/.github/workflows/release-drafter.yml +++ b/.github/workflows/release-drafter.yml @@ -20,6 +20,8 @@ on: push: branches: - master + workflow_dispatch: + jobs: update_release_draft: uses: apache/maven-gh-actions-shared/.github/workflows/release-drafter.yml@v4 diff --git a/.github/workflows/release-drafter.yml b/.github/workflows/stale.yml similarity index 81% copy from .github/workflows/release-drafter.yml copy to .github/workflows/stale.yml index 1049eaa36..736bc7e68 100644 --- a/.github/workflows/release-drafter.yml +++ b/.github/workflows/stale.yml @@ -14,12 +14,15 @@ # KIND, either express or implied. See the License for the # specific language governing permissions and limitations # under the License. - -name: Release Drafter + +name: Stale + on: - push: - branches: - - master + schedule: + - cron: '54 3 * * *' + issue_comment: + types: [ 'created' ] + jobs: - update_release_draft: - uses: apache/maven-gh-actions-shared/.github/workflows/release-drafter.yml@v4 + stale: + uses: 'apache/maven-gh-actions-shared/.github/workflows/stale.yml@v4'