mirror of
https://github.com/neovim/neovim.git
synced 2024-12-19 10:45:16 -07:00
ci: refactor CI files
Mostly rename file and variable names to be more consistent. This makes it easier to locate them in the "Actions" tab on github.
This commit is contained in:
parent
29aa4dd10a
commit
dd81e1e334
2
.github/workflows/backport.yml
vendored
2
.github/workflows/backport.yml
vendored
@ -1,4 +1,4 @@
|
||||
name: Backport
|
||||
name: backport
|
||||
on:
|
||||
pull_request_target:
|
||||
types: [closed, labeled]
|
||||
|
2
.github/workflows/codeql.yml
vendored
2
.github/workflows/codeql.yml
vendored
@ -1,4 +1,4 @@
|
||||
name: "CodeQL"
|
||||
name: "codeql"
|
||||
|
||||
concurrency:
|
||||
group: ${{ github.workflow }}-${{ github.event_name == 'pull_request' && github.head_ref || github.sha }}
|
||||
|
2
.github/workflows/coverity.yml
vendored
2
.github/workflows/coverity.yml
vendored
@ -1,4 +1,4 @@
|
||||
name: Coverity
|
||||
name: coverity
|
||||
on:
|
||||
schedule:
|
||||
- cron: '10 0 * * *' # Run every day at 00:10
|
||||
|
@ -1,5 +1,4 @@
|
||||
# Check if any PR needs to run the autogenerate script
|
||||
name: Autogenerate API docs and types
|
||||
name: docs
|
||||
on:
|
||||
pull_request:
|
||||
types: [opened, synchronize, reopened, ready_for_review]
|
||||
@ -8,9 +7,8 @@ on:
|
||||
- 'src/nvim/eval.lua'
|
||||
- 'runtime/lua/**.lua'
|
||||
- 'runtime/doc/**'
|
||||
|
||||
jobs:
|
||||
regen-api-docs-and-types:
|
||||
docs:
|
||||
runs-on: ubuntu-latest
|
||||
if: github.event.pull_request.draft == false
|
||||
permissions:
|
@ -1,17 +1,14 @@
|
||||
name: Issue Open Check
|
||||
|
||||
name: "labeler: issue"
|
||||
on:
|
||||
issues:
|
||||
types: [opened]
|
||||
|
||||
jobs:
|
||||
issue-open-check:
|
||||
labeler:
|
||||
permissions:
|
||||
issues: write
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- name: check issue title
|
||||
id: check-issue
|
||||
uses: actions/github-script@v7
|
||||
with:
|
||||
script: |
|
@ -1,9 +1,9 @@
|
||||
name: "Pull Request Labeler"
|
||||
name: "labeler: PR"
|
||||
on:
|
||||
pull_request_target:
|
||||
types: [opened]
|
||||
jobs:
|
||||
triage:
|
||||
labeler:
|
||||
runs-on: ubuntu-latest
|
||||
permissions:
|
||||
contents: read
|
||||
@ -37,4 +37,4 @@ jobs:
|
||||
needs: ["triage", "type-scope"]
|
||||
permissions:
|
||||
pull-requests: write
|
||||
uses: ./.github/workflows/add-reviewers.yml
|
||||
uses: ./.github/workflows/reviewers_add.yml
|
2
.github/workflows/lintcommit.yml
vendored
2
.github/workflows/lintcommit.yml
vendored
@ -1,4 +1,4 @@
|
||||
name: "Commit Linter"
|
||||
name: "lintcommit"
|
||||
on:
|
||||
pull_request:
|
||||
types: [opened, synchronize, reopened, ready_for_review]
|
||||
|
2
.github/workflows/news.yml
vendored
2
.github/workflows/news.yml
vendored
@ -1,4 +1,4 @@
|
||||
name: "news.txt check"
|
||||
name: "news.txt"
|
||||
on:
|
||||
pull_request:
|
||||
types: [opened, synchronize, reopened, ready_for_review]
|
||||
|
2
.github/workflows/release.yml
vendored
2
.github/workflows/release.yml
vendored
@ -1,4 +1,4 @@
|
||||
name: Release
|
||||
name: release
|
||||
on:
|
||||
schedule:
|
||||
- cron: '5 5 * * *'
|
||||
|
@ -1,4 +1,4 @@
|
||||
name: "Request reviews"
|
||||
name: "reviewers: add"
|
||||
on:
|
||||
pull_request_target:
|
||||
types: [labeled, ready_for_review, reopened]
|
||||
@ -15,5 +15,5 @@ jobs:
|
||||
uses: actions/github-script@v7
|
||||
with:
|
||||
script: |
|
||||
const script = require('./.github/scripts/reviews.js')
|
||||
const script = require('./.github/scripts/reviewers_add.js')
|
||||
await script({github, context})
|
@ -1,4 +1,4 @@
|
||||
name: "Remove reviewers"
|
||||
name: "reviewers: remove"
|
||||
on:
|
||||
pull_request_target:
|
||||
types: [converted_to_draft, closed]
|
||||
@ -13,5 +13,5 @@ jobs:
|
||||
uses: actions/github-script@v7
|
||||
with:
|
||||
script: |
|
||||
const script = require('./.github/scripts/remove-reviewers.js')
|
||||
const script = require('./.github/scripts/reviewers_remove.js')
|
||||
await script({github, context})
|
4
.github/workflows/test.yml
vendored
4
.github/workflows/test.yml
vendored
@ -104,14 +104,14 @@ jobs:
|
||||
{ runner: ubuntu-22.04, flavor: tsan, cc: clang, flags: -D ENABLE_TSAN=ON },
|
||||
{ runner: ubuntu-22.04, cc: gcc },
|
||||
{ runner: macos-12, cc: clang, flags: -D CMAKE_FIND_FRAMEWORK=NEVER, deps_flags: -D CMAKE_FIND_FRAMEWORK=NEVER },
|
||||
{ runner: ubuntu-22.04, flavor: functionaltest-lua, cc: gcc, deps_flags: -D USE_BUNDLED_LUAJIT=OFF -D USE_BUNDLED_LUA=ON, flags: -D PREFER_LUA=ON },
|
||||
{ runner: ubuntu-22.04, flavor: puc-lua, cc: gcc, deps_flags: -D USE_BUNDLED_LUAJIT=OFF -D USE_BUNDLED_LUA=ON, flags: -D PREFER_LUA=ON },
|
||||
]
|
||||
test: [unittest, functionaltest, oldtest]
|
||||
exclude:
|
||||
- test: unittest
|
||||
build: { flavor: tsan }
|
||||
- test: unittest
|
||||
build: { flavor: functionaltest-lua }
|
||||
build: { flavor: puc-lua }
|
||||
- test: oldtest
|
||||
build: { flavor: tsan }
|
||||
runs-on: ${{ matrix.build.runner }}
|
||||
|
Loading…
Reference in New Issue
Block a user