Skip to content

Commit 997e67f

Browse files
authored
Merge branch 'master' into feature/build-param-resources
2 parents cea2999 + e63ec83 commit 997e67f

3 files changed

Lines changed: 34 additions & 1 deletion

File tree

Lines changed: 32 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,32 @@
1+
# Auto-approve owner PRs that receive no review within 3 days.
2+
#
3+
# Uses the reusable action: https://github.com/mPokornyETM/auto-approve-stale-prs
4+
#
5+
# Countdown labels give reviewers clear visibility:
6+
# Day 0 → merge-in-3-days-without-review
7+
# Day 1 → merge-in-2-days-without-review
8+
# Day 2 → merge-in-1-day-without-review
9+
# Day 3 → approved + merged-without-review (auto-merge takes over)
10+
#
11+
# Only PRs authored by a repo OWNER or MEMBER are processed.
12+
# PRs that already have at least one approval are skipped.
13+
name: Auto-approve owner PRs
14+
15+
on:
16+
schedule:
17+
- cron: "0 8 * * *" # daily at 08:00 UTC
18+
workflow_dispatch: # allow manual trigger
19+
20+
permissions:
21+
contents: write
22+
pull-requests: write
23+
24+
jobs:
25+
countdown:
26+
runs-on: ubuntu-latest
27+
steps:
28+
- uses: mPokornyETM/auto-approve-stale-prs@v1
29+
with:
30+
days-until-approve: '3'
31+
author-associations: 'OWNER'
32+
merge-method: 'squash'

README.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@ This plugin allows defining lockable resources (such as printers, phones,
1313
computers, etc.) that can be used by builds. If a build requires a resource
1414
which is already locked, it will wait for the resource to be free.
1515

16+
1617
----
1718
## Support
1819

pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,7 @@
7171
<dependency>
7272
<groupId>io.jenkins.tools.bom</groupId>
7373
<artifactId>bom-${jenkins.baseline}.x</artifactId>
74-
<version>6166.va_a_8b_5eda_8ef5</version>
74+
<version>6210.v69ea_fd8a_f010</version>
7575
<type>pom</type>
7676
<scope>import</scope>
7777
</dependency>

0 commit comments

Comments
 (0)