Skip to content

1912/2 use new json input #7817

1912/2 use new json input

1912/2 use new json input #7817

name: OnSyncPR-Check
on:
pull_request_target:
types: [opened,synchronize]
concurrency:
group: ${{ github.workflow }}-${{ github.event.pull_request.number }}
cancel-in-progress: true
jobs:
check-format:
if: github.event.pull_request.author_association == 'COLLABORATOR' || github.event.pull_request.author_association == 'MEMBER' || github.event.pull_request.author_association == 'OWNER'
uses: ./.github/workflows/check-formatting.yml
secrets: inherit
check-wiki-changelog:
runs-on: ubuntu-latest
if: github.event.pull_request.author_association == 'COLLABORATOR' || github.event.pull_request.author_association == 'MEMBER' || github.event.pull_request.author_association == 'OWNER'
steps:
- name: Checkout the latest code (shallow clone)
uses: actions/checkout@v4
with:
ref: develop
- name: Check if PR number exists in wiki/Changelog
env:
GITHUB_TOKEN: ${{ secrets.BOT_TOKEN }}
run: .github/check-wiki-changelog.sh