ladybird/.github/workflows/notes-push.yml

22 lines
579 B
YAML

name: Push notes
on:
push:
branches:
- master
permissions:
contents: write
jobs:
build:
if: github.repository == 'LadybirdBrowser/ladybird'
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
with:
fetch-depth: 0
- uses: fregante/setup-git-user@v2
- run: |
git fetch origin "refs/notes/*:refs/notes/*"
curl -fsSLO https://sideshowbarker.github.io/git-gloss/git-gloss && bash ./git-gloss
git push origin "refs/notes/*"
env:
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}