Skip to content

Commit

Permalink
Merge pull request #1 from workaroundgmbh/readd_label_support
Browse files Browse the repository at this point in the history
Readd label support and remove auto-merge dependency
  • Loading branch information
pblitz-pg authored Nov 8, 2021
2 parents 33438f9 + fbe96c7 commit 1d091e9
Show file tree
Hide file tree
Showing 5 changed files with 6,451 additions and 17 deletions.
13 changes: 7 additions & 6 deletions .github/workflows/auto-update.yml
Original file line number Diff line number Diff line change
@@ -1,18 +1,19 @@
name: Auto-update
# Auto-update only listens to `push` events.
# If a pull request is already outdated when enabling auto-merge, manually click on the "Update branch" button a first time to avoid having to wait for another commit to land on the base branch for the pull request to be updated.
on: push
# on: push
# If pull requests are always based on the same branches, only triggering the workflow when these branches receive new commits will minimize the workflow execution.
# on:
# push:
# branches:
# - main
on:
push:
branches:
- main

jobs:
Auto:
name: Auto-update
runs-on: ubuntu-18.04
runs-on: ubuntu-latest
steps:
- uses: tibdex/auto-update@v2
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
label: auto-update
2 changes: 2 additions & 0 deletions action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,8 @@ inputs:
github_token:
description: Token for the GitHub API.
required: true
label:
description: If given, pull requests without this label will be ignored.
runs:
using: node12
main: dist/index.js
Expand Down
Loading

0 comments on commit 1d091e9

Please sign in to comment.