Skip to content

A modern and easy to use dashboard. 80+ integrations. 20K+ icons built in. Authentication out of the box. No YAML, drag and drop configuration.

ci: add job to skip renovate stability days for non renovate prs (#3967)

Meier Lukasd4f73d2b393d
diff --git a/.github/workflows/skip-renovate-stability-days.yml b/.github/workflows/skip-renovate-stability-days.yml
new file mode 100644
index 000000000..2fc403525
--- /dev/null
+++ b/.github/workflows/skip-renovate-stability-days.yml
@@ -0,0 +1,26 @@
+permissions:
+ statuses: write
+
+on:
+ pull_request:
+ branches-ignore: "renovate/*"
+ types: [opened, synchronize]
+
+jobs:
+ skip-stability-days:
+ name: Skip Stability Days
+ runs-on: ubuntu-latest
+ steps:
+ - name: Add status check
+ env:
+ GH_TOKEN: ${{secrets.GITHUB_TOKEN}}
+ run: |
+ gh api \
+ --method POST \
+ -H "Accept: application/vnd.github+json" \
+ -H "X-GitHub-Api-Version: 2022-11-28" \
+ /repos/${{github.repository}}/statuses/${{github.event.pull_request.head.sha}} \
+ -f 'state=success' \
+ -f 'target_url=https://docs.renovatebot.com/configuration-options#minimumreleaseage' \
+ -f 'description=Skipped for non renovate branches' \
+ -f 'context=renovate/stability-days'