diff --git a/.github/workflows/notes-push.yml b/.github/workflows/notes-push.yml new file mode 100644 index 00000000000..ffde951b930 --- /dev/null +++ b/.github/workflows/notes-push.yml @@ -0,0 +1,17 @@ +name: Push notes +on: + push: + branches: + - master +jobs: + build: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v2 + - 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 }}