Skip to content

replace with mkdocs-include-markdown-plugin #7

replace with mkdocs-include-markdown-plugin

replace with mkdocs-include-markdown-plugin #7

name: Get latest inotify version
on:
<<<<<<< Updated upstream

Check failure on line 3 in .github/workflows/inotify_version.yml

View workflow run for this annotation

GitHub Actions / .github/workflows/inotify_version.yml

Invalid workflow file

You have an error in your yaml syntax on line 3
push:
branches:
- docs
schedule:
- cron: "*/1 * * * *"
workflow_dispatch:
permissions:
contents: write
=======
schedule:
- cron: "*/1 * * * *"
workflow_dispatch:
>>>>>>> Stashed changes
jobs:
update_version:
runs-on: ubuntu-latest
<<<<<<< Updated upstream
=======
>>>>>>> Stashed changes
steps:
- name: Checkout repository
uses: actions/checkout@v2
- name: Get latest Inotify version
run: |
curl -s https://api.github.com/repos/inotify-tools/inotify-tools/releases/latest \
| grep "tag_name" \
| sed -E 's/.*"([^"]+)".*/\1/' \
<<<<<<< Updated upstream
> docs/inotify_version
- name: Add inotify_version to Git index
run: |
git add docs/inotify_version
=======
> inotify_version
>>>>>>> Stashed changes
- name: Commit and push changes
run: |
git config --global user.email "[email protected]"
git config --global user.name "GitHub Actions"
<<<<<<< Updated upstream
git commit -m "Update Inotify version"
git push
=======
git add inotify_version
git commit -m "Update Inotify version"
git push
>>>>>>> Stashed changes