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

chore: add valid-pr workflow #19

Draft
wants to merge 2 commits into
base: master
Choose a base branch
from
Draft
Show file tree
Hide file tree
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
30 changes: 0 additions & 30 deletions .github/workflows/conflicts.yaml

This file was deleted.

34 changes: 34 additions & 0 deletions .github/workflows/valid-pr.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
name: Valid PR

on:
push:
branches:
- master
pull_request:
types:
- opened
- reopened
- ready_for_review
- synchronize

permissions:
contents: read
pull-requests: write

concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true

jobs:
valid-pr:
runs-on: ubuntu-latest
steps:
- name: Validate
uses: ExodusMovement/soteria-action@04dab36c9d762a04756972f4bb279467adb1a5af
with:
validations: conflicting
conflictingLabel: 'blocked/needs-rebase'
repoToken: '${{ secrets.GITHUB_TOKEN }}'
skipDraft: conflicting
retryAfterOnConflicting: 45
removeValidationComments: true
Loading