mirror of
https://github.com/ajnart/homarr.git
synced 2026-02-27 00:40:58 +01:00
27 lines
822 B
YAML
27 lines
822 B
YAML
permissions:
|
|
statuses: write
|
|
|
|
on:
|
|
pull_request:
|
|
types: [opened, synchronize]
|
|
|
|
jobs:
|
|
skip-stability-days:
|
|
if: ${{ !startsWith(github.head_ref, 'renovate/') }}
|
|
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'
|