robin/laufey

git clone https://git.robinwobin.dev/robin/laufey

Justin M. KeyesMerge #38196 ci: fix issues flagged by Zizmor4fb0f95330

master
581 B19 linesraw
1# Dummy workflow of lintcommit.yml. lintcommit is a required check, but it's
2# only designed to work on master. Since required checks are always required to
3# run, we can essentially "skip" the lintcommit on release branches with this
4# dummy check that automatically passes.
5name: lintcommit_dummy
6on:
7  pull_request:
8    types: [opened, synchronize, reopened, ready_for_review]
9    branches:
10      - 'release-[0-9]+.[0-9]+'
11
12permissions: {}
13
14jobs:
15  lint-commits:
16    runs-on: ubuntu-latest
17    if: github.event.pull_request.draft == false
18    steps:
19      - run: echo "success"