mirror of
https://github.com/neovim/neovim.git
synced 2026-03-31 04:42:03 +00:00
The default workflow permissions are overly broad; setting permissions explicitly at the workflow level ensures excessive permissions are not unintentionally granted to jobs. For details, see: https://docs.zizmor.sh/audits/#excessive-permissions
36 lines
869 B
YAML
36 lines
869 B
YAML
name: build_dummy
|
|
on:
|
|
pull_request:
|
|
branches:
|
|
- 'master'
|
|
- 'release-[0-9]+.[0-9]+'
|
|
# This needs to be an exact complement of `paths` in the build.yml workflow.
|
|
# This is required to bypass required checks since a required job is always
|
|
# needed to run.
|
|
paths-ignore:
|
|
- '**.cmake'
|
|
- '**/CMakeLists.txt'
|
|
- '**/CMakePresets.json'
|
|
- 'cmake.*/**'
|
|
- '.github/**'
|
|
|
|
permissions: {}
|
|
|
|
concurrency:
|
|
group: ${{ github.workflow }}-${{ github.ref }}
|
|
cancel-in-progress: ${{ github.event_name == 'pull_request' }}
|
|
|
|
jobs:
|
|
# Test the minimum supported cmake.
|
|
old-cmake:
|
|
runs-on: ubuntu-latest
|
|
timeout-minutes: 15
|
|
steps:
|
|
- run: echo "success"
|
|
|
|
# Offline build (USE_EXISTING_SRC_DIR=ON with no network access)
|
|
use-existing-src:
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- run: echo "success"
|