feature(rolling-upgrades): update the base versions rules #2778
Workflow file for this run
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| name: Check generated code is up-to-date | |
| on: | |
| pull_request_target: | |
| types: [opened, synchronize, reopened] | |
| branches: | |
| - master | |
| jobs: | |
| check_org_membership: | |
| runs-on: ubuntu-latest | |
| outputs: | |
| isTeamMember: ${{ steps.teamAffiliation.outputs.isTeamMember }} | |
| steps: | |
| # Skip team membership check for bots since GitHub API cannot resolve bot users | |
| # This prevents GraphQL errors like "Could not resolve to a User with the login of 'Copilot'" | |
| - name: Check user for team affiliation | |
| uses: tspascoal/get-user-teams-membership@v3 | |
| if: github.event.pull_request.user.login != 'renovate[bot]' && github.event.pull_request.user.login != 'Copilot' | |
| id: teamAffiliation | |
| with: | |
| GITHUB_TOKEN: ${{ secrets.AUTO_BACKPORT_TOKEN }} | |
| username: ${{ github.event.pull_request.user.login }} | |
| team: ${{ secrets.SCT_ACTION_GITHUB_TEAM }} | |
| run_validations: | |
| runs-on: ubuntu-latest | |
| needs: check_org_membership | |
| if: github.event.pull_request.user.login == 'Copilot' || github.event.pull_request.user.login == 'renovate[bot]' || needs.check_org_membership.outputs.isTeamMember == 'true' | |
| env: | |
| AWS_ACCESS_KEY_ID: ${{ secrets.QA_USER_AWS_ACCESS_KEY_ID }} | |
| AWS_SECRET_ACCESS_KEY: ${{ secrets.QA_USER_AWS_SECRET_ACCESS_KEY }} | |
| steps: | |
| - name: Checkout repository | |
| uses: actions/checkout@v5 | |
| with: | |
| repository: ${{ github.event.pull_request.head.repo.full_name }} | |
| ref: ${{ github.head_ref }} | |
| - name: Run nemesis list validation | |
| uses: ./.github/actions/run-validation | |
| with: | |
| script: create-nemesis-yaml | |
| github_token: ${{ secrets.GITHUB_TOKEN }} | |
| - name: Run configuration docs validation | |
| uses: ./.github/actions/run-validation | |
| with: | |
| script: update-conf-docs | |
| github_token: ${{ secrets.GITHUB_TOKEN }} | |
| - name: Run nemesis pipelines validation | |
| uses: ./.github/actions/run-validation | |
| with: | |
| script: create-nemesis-pipelines | |
| github_token: ${{ secrets.GITHUB_TOKEN }} |