Skip to content

fix: adjust testing endpoints for release #10

fix: adjust testing endpoints for release

fix: adjust testing endpoints for release #10

Workflow file for this run

# SPDX-FileCopyrightText: © 2025 open-nudge <https://github.com/open-nudge>
# SPDX-FileContributor: szymonmaszke <[email protected]>
#
# SPDX-License-Identifier: Apache-2.0
---
name: "Policy"
on:
pull_request:
branches:
- "main"
merge_group:
types:
- "checks_requested"
permissions: {} # yamllint disable-line rule:braces
concurrency:
group: >
${{ github.workflow_ref }}-${{ github.ref }}
cancel-in-progress: true
jobs:
pr-policy-enforcer:
timeout-minutes: 10
name: "Policy"
# Renovate bot disabled as it is not signing the commit
if: >
github.event.pull_request.user.login != 'renovate[bot]'
permissions:
contents: "read"
runs-on: "ubuntu-latest"
steps:
- name: "Harden Runner" # zizmor: ignore[known-vulnerable-actions]
# yamllint disable rule:line-length
uses: "step-security/harden-runner@0634a2670c59f64b4a01f0f96f84700a4088b9f0" # v2.12.0
# yamllint enable rule:line-length
with:
# Uses docker container,
# disable-sudo-and-containers impossible
disable-sudo: true
egress-policy: "block"
allowed-endpoints: >
api.github.com:443
github.com:443
- name: "Checkout Repository"
# yamllint disable rule:line-length
uses: "actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683" # v4.2.2
# yamllint enable rule:line-length
with:
sparse-checkout: |
.conform.yaml
sparse-checkout-cone-mode: false
persist-credentials: false
# Necessary for the conform action to work (commit ranges)
# See here: https://github.com/siderolabs/conform/issues/231
fetch-depth: 2
- name: "Check policy compliance"
# yamllint disable rule:line-length
uses: "siderolabs/conform@43d9fb6d85d5f01b391245805eefd258db160197" # v0.1.0-alpha.30
# yamllint enable rule:line-length
with:
token: "${{ secrets.GITHUB_TOKEN }}"
...