✨ Add boolean 'status.ready' field for openstackclusterstackrelease #39
Workflow file for this run
This file contains 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: Verify Pull Request | |
on: # yamllint disable-line rule:truthy | |
pull_request: | |
types: [opened, edited, synchronize, reopened, ready_for_review] | |
# yamllint disable rule:line-length | |
jobs: | |
pr-verify: | |
runs-on: ubuntu-latest | |
name: Verify Pull Request | |
if: github.event_name != 'pull_request' || !github.event.pull_request.draft | |
steps: | |
- name: Verifier action | |
id: verifier | |
uses: kubernetes-sigs/kubebuilder-release-tools@3c3411345eedc489d1022288aa844691e92a9c29 # v0.4.2 | |
with: | |
github_token: ${{ secrets.GITHUB_TOKEN }} | |
- name: Checkout repository | |
uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1 | |
with: | |
ref: ${{ github.event.pull_request.head.sha }} | |
- name: Verify Boilerplate | |
run: make verify-boilerplate | |
- name: Verify Shellcheck | |
run: make verify-shellcheck | |
- name: Verify Starlark | |
run: make verify-starlark | |
- uses: actions/setup-node@8f152de45cc393bb48ce5d89d36b731f54556e65 # v4 | |
with: | |
node-version: "18" | |
- name: Install renovate | |
run: npm i -g renovate@35.54.0 # TODO update this via renovatebot | |
- name: Validate config | |
run: | | |
for file in $(find . -name "*.json5"); do | |
renovate-config-validator ${file} | |
done | |
- name: Generate Token | |
uses: tibdex/github-app-token@3beb63f4bd073e61482598c45c71c1019b59b73a # v2 | |
id: generate-token | |
with: | |
app_id: ${{ secrets.SCS_APP_ID }} | |
private_key: ${{ secrets.SCS_APP_PRIVATE_KEY }} | |
- name: Generate Size | |
uses: pascalgn/size-label-action@37a5ad4ae20ea8032abf169d953bcd661fd82cd3 # v0.5.0 | |
env: | |
GITHUB_TOKEN: ${{ steps.generate-token.outputs.token }} | |
with: | |
sizes: > | |
{ | |
"0": "XS", | |
"20": "S", | |
"50": "M", | |
"200": "L", | |
"800": "XL", | |
"2000": "XXL" | |
} | |
- name: Generate Labels | |
uses: actions/labeler@ac9175f8a1f3625fd0d4fb234536d26811351594 # v4 | |
with: | |
configuration-path: .github/labeler.yaml | |
repo-token: ${{ steps.generate-token.outputs.token }} | |
- name: Sync Labels | |
uses: EndBug/label-sync@da00f2c11fdb78e4fae44adac2fdd713778ea3e8 # v2 | |
with: | |
config-file: .github/labels.yaml | |
token: ${{ steps.generate-token.outputs.token }} |