mirror of
https://github.com/neovim/neovim.git
synced 2026-06-19 18:12:35 +00:00
Bumps the github-actions group with 2 updates in the / directory: [actions/checkout](https://github.com/actions/checkout) and [github/codeql-action](https://github.com/github/codeql-action). Updates `actions/checkout` from 6 to 6.0.2 - [Release notes](https://github.com/actions/checkout/releases) - [Commits](https://github.com/actions/checkout/compare/v6...v6.0.2) Updates `github/codeql-action` from 4.35.5 to 4.36.0 - [Release notes](https://github.com/github/codeql-action/releases) - [Changelog](https://github.com/github/codeql-action/blob/main/CHANGELOG.md) - [Commits](https://github.com/github/codeql-action/compare/v4.35.5...v4.36.0) --- updated-dependencies: - dependency-name: actions/checkout dependency-version: 6.0.2 dependency-type: direct:production update-type: version-update:semver-patch dependency-group: github-actions - dependency-name: github/codeql-action dependency-version: 4.36.0 dependency-type: direct:production update-type: version-update:semver-minor dependency-group: github-actions ... Signed-off-by: dependabot[bot] <support@github.com>
43 lines
1.2 KiB
YAML
43 lines
1.2 KiB
YAML
name: lintdoc-urls
|
|
on:
|
|
schedule:
|
|
- cron: '22 22 * * 5'
|
|
workflow_dispatch:
|
|
|
|
permissions: {}
|
|
|
|
jobs:
|
|
check-unreachable-urls:
|
|
runs-on: ubuntu-latest
|
|
permissions:
|
|
issues: write
|
|
env:
|
|
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
|
steps:
|
|
- uses: actions/checkout@v6.0.2
|
|
with:
|
|
fetch-depth: 0
|
|
persist-credentials: false
|
|
|
|
- name: Set up git config
|
|
run: |
|
|
git config --global user.name 'marvim'
|
|
git config --global user.email 'marvim@users.noreply.github.com'
|
|
|
|
- uses: ./.github/actions/setup
|
|
|
|
- name: Check for unreachable URLs
|
|
id: unreachable-urls
|
|
env:
|
|
run_url: https://github.com/neovim/neovim/actions/runs/${{ github.run_id }}
|
|
run: |
|
|
OUT_FILE=$(mktemp)
|
|
make lintdocurls 2>&1 | sed -n '/invalid URLs/,/^}/p' > $OUT_FILE
|
|
if [ -n $OUT_FILE -a -s $OUT_FILE ]; then
|
|
# wrap output in a code block
|
|
sed -i -e '1i```' -e '$a```' $OUT_FILE
|
|
echo "Automatically generated on $(date) from $run_url" >> $OUT_FILE
|
|
gh issue reopen 36597
|
|
gh issue edit 36597 --body-file $OUT_FILE
|
|
fi
|