Skip to content

Commit

Permalink
adjust workflows
Browse files Browse the repository at this point in the history
  • Loading branch information
mschuwalow committed Jan 14, 2024
1 parent 227a5c7 commit 268af28
Show file tree
Hide file tree
Showing 7 changed files with 45 additions and 48 deletions.
3 changes: 3 additions & 0 deletions .github/pr-labeler.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
automerge: 'update/*'
autoupdate: 'update/*'
dependency-update: 'update/*'
13 changes: 0 additions & 13 deletions .github/renovate.json

This file was deleted.

6 changes: 4 additions & 2 deletions .github/workflows/auto-approve.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,10 @@ on:
jobs:
auto-approve:
runs-on: ubuntu-22.04
permissions:
pull-requests: write
steps:
- uses: hmarr/auto-approve-action@v3.2.1
- uses: hmarr/auto-approve-action@v3
if: github.actor == 'scala-steward' || github.actor == 'renovate[bot]'
with:
github-token: "${{ secrets.GITHUB_TOKEN }}"
github-token: ${{ secrets.GITHUB_TOKEN }}
20 changes: 13 additions & 7 deletions .github/workflows/auto-update.yaml
Original file line number Diff line number Diff line change
@@ -1,14 +1,20 @@
name: autoupdate
name: Autoupdate PRs

on:
push: {}
pull_request:
types:
- labeled

jobs:
autoupdate:
name: autoupdate
runs-on: ubuntu-latest
runs-on: ubuntu-22.04
permissions:
contents: write
steps:
- uses: docker://chinthakagodawita/autoupdate-action:v1
env:
GITHUB_TOKEN: "${{ secrets.GITHUB_TOKEN }}"
PR_FILTER: "labelled"
PR_LABELS: "type: dependencies,autoupdate"
EXCLUDED_LABELS: "do-not-autoupdate"
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
PR_FILTER: labelled
PR_LABELS: autoupdate
MERGE_CONFLICT_ACTION: ignore
19 changes: 19 additions & 0 deletions .github/workflows/pr-labeler.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
name: Label PR

on:
pull_request_target:
types:
- reopened
- opened

jobs:
pr-labeler:
runs-on: ubuntu-latest
permissions:
contents: read
pull-requests: write
steps:
- uses: TimonVS/pr-labeler-action@v4
with:
repo-token: ${{ secrets.GITHUB_TOKEN }}
configuration-path: .github/pr-labeler.yml
8 changes: 6 additions & 2 deletions .github/workflows/release-drafter.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,11 +2,15 @@ name: Release Drafter

on:
push:
branches: ['master']
branches:
- master

jobs:
update_release_draft:
runs-on: ubuntu-22.04
runs-on: ubuntu-20.04
permissions:
contents: write
pull-requests: write
steps:
- uses: release-drafter/release-drafter@v5
env:
Expand Down
24 changes: 0 additions & 24 deletions .mergify.yml

This file was deleted.

0 comments on commit 268af28

Please sign in to comment.