Skip to content

Commit

Permalink
Sync GH folder
Browse files Browse the repository at this point in the history
  • Loading branch information
mallardduck committed Aug 5, 2024
1 parent 2514c58 commit 6ca038b
Show file tree
Hide file tree
Showing 3 changed files with 16 additions and 3 deletions.
15 changes: 12 additions & 3 deletions .github/renovate.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,16 +3,25 @@
"github>rancher/renovate-config#modigest"
],
"baseBranches": [
"master",
"release/v2.9"
"main",
"release/v2.9",
"release/v2.8"
],
"prHourlyLimit": 2,
"packageRules": [
{
"matchBaseBranches": ["main", "release/v2.8"],
"matchDepNames": [
"kubernetes/kubernetes"
],
"allowedVersions": "<1.25.0"
"allowedVersions": "<1.30.0"
},
{
"matchBaseBranches": ["release/v2.8"],
"matchDepNames": [
"kubernetes/kubernetes"
],
"allowedVersions": "<1.28.0"
}
]
}
2 changes: 2 additions & 0 deletions .github/workflows/port-issue.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,8 @@ on:

jobs:
port-issue:
permissions:
issues: write
runs-on: ubuntu-latest
if: ${{ !github.event.issue.pull_request && (contains(github.event.comment.body, '/backport') || contains(github.event.comment.body, '/forwardport')) }}
steps:
Expand Down
2 changes: 2 additions & 0 deletions .github/workflows/port-pr.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,8 @@ env:

jobs:
port-pr:
permissions:
pull-requests: write
runs-on: ubuntu-latest
if: ${{ github.event.issue.pull_request && (startsWith(github.event.comment.body, '/backport') || startsWith(github.event.comment.body, '/forwardport')) }}
steps:
Expand Down

0 comments on commit 6ca038b

Please sign in to comment.