Skip to content

main: check-restricted-files.yaml reports ok for intra-repo PRs that are allowed to change these files #4408

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

Closed
wants to merge 1 commit into from

Conversation

ralfhandl
Copy link
Contributor

@ralfhandl ralfhandl commented Mar 6, 2025

Fixes #3432

Check in the workflow whether the PR is an intra-repo "sync PR" or "release PR" and report "ok" for these.

Conditions are

  • PR's head and base repository is OAI/OpenAPI-Specification and
    • head is main and base is dev, or
    • head is dev and base matches v?.?-dev, or
    • head matches v?.?.?-rel and base is main

Tick one of the following options:

  • schema changes are included in this pull request
  • schema changes are needed for this pull request but not done yet
  • no schema changes are needed for this pull request

Check in the whether the PR is an intra-repo sync PR or release PR and report "ok" for these.

Conditions:
- PR's `head` and `base` repo is `OAI/OpenAPI-Specification` and
  - `head` is `main` and `base` is `dev`, or
  - `head` is `dev` and `base` matches `v?.?-dev`, or
  - `head` matches `v?.?.?-rel` and `base` is `main`
@ralfhandl ralfhandl changed the title experimental - please ignore for now main: check-restricted-files.yaml reports ok for intra-repo PRs that are allowed to change these files Mar 6, 2025
@ralfhandl ralfhandl marked this pull request as ready for review March 6, 2025 14:12
@ralfhandl ralfhandl requested review from a team as code owners March 6, 2025 14:12
@ralfhandl ralfhandl closed this Mar 6, 2025
@ralfhandl ralfhandl deleted the v9.8.7-rel branch March 6, 2025 14:13
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Add automation to prevent PRs from changing specification files that need to be immutable.
1 participant