Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

refactor(ci): using autoupdate action #638

Merged
merged 1 commit into from
Jul 17, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
21 changes: 10 additions & 11 deletions .github/workflows/pull-request-update.yaml
Original file line number Diff line number Diff line change
@@ -1,18 +1,17 @@
name: Pull request update

name: Auto update PR's
on:
push:
branches:
- main

jobs:
autoupdate:
runs-on: ubuntu-latest
name: autoupdate
runs-on: ubuntu-22.04
steps:
- uses: actions/checkout@v4
- name: Update all pull requests
uses: castastrophe/actions-pr-auto-update@v1.1.0
with:
# defaults to github.token
token: ${{ secrets.GIX_CREATE_PR_PAT }}
include_drafts: true
- uses: chinthakagodawita/autoupdate@v1.7.0
env:
GITHUB_TOKEN: "${{ secrets.GIX_CREATE_PR_PAT }}"
MERGE_MSG: "Branch was auto-updated."
RETRY_COUNT: "5"
RETRY_SLEEP: "1000"
MERGE_CONFLICT_ACTION: "ignore"
Loading