mirror of
https://github.com/yutkat/my-neovim-pluginlist.git
synced 2024-11-18 09:25:31 +00:00
26 lines
761 B
YAML
26 lines
761 B
YAML
|
name: Trigger new rss
|
||
|
|
||
|
on:
|
||
|
push:
|
||
|
branches:
|
||
|
- main
|
||
|
pull_request:
|
||
|
branches:
|
||
|
- main
|
||
|
|
||
|
jobs:
|
||
|
github:
|
||
|
runs-on: ubuntu-latest
|
||
|
container: ubuntu:latest
|
||
|
steps:
|
||
|
- uses: actions/checkout@v3
|
||
|
- name: check commit message
|
||
|
id: check_message
|
||
|
run: exit $(test $(git log --no-merges --oneline -1 --pretty=%f) = "Add")
|
||
|
continue-on-error: true
|
||
|
- run: |
|
||
|
curl -X POST -H "Authorization: token $GH_TOKEN" -H "Accept: application/vnd.github.v3+json" https://api.github.com/repos/yutkat/new-neovim-plugin-with-category-rss/dispatches -d '{"event_type":"trigger-new-repo"}'
|
||
|
env:
|
||
|
GH_TOKEN: ${{ secrets.PERSONAL_ACCESS_TOKEN }}
|
||
|
if: steps.check_message.outcome == 'success'
|