diff --git a/.github/workflows/changelog.yaml b/.github/workflows/changelog.yaml index a2961f306..23e8815ef 100644 --- a/.github/workflows/changelog.yaml +++ b/.github/workflows/changelog.yaml @@ -2,7 +2,7 @@ name: Changelog Generator on: schedule: - - cron: '0 0 * * 1,4' + - cron: 0 0 * * 1,4 push: tags: - '*.*.*' @@ -23,7 +23,7 @@ jobs: fi if: github.event_name == 'push' && github.ref_type == 'tag' env: - GH_TOKEN: ${{ github.token }} + GH_TOKEN: ${{ secrets.GOPASS_CI_GITHUB_TOKEN }} - name: Get Date id: get-date diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml new file mode 100644 index 000000000..2d501ac60 --- /dev/null +++ b/.pre-commit-config.yaml @@ -0,0 +1,7 @@ +repos: + - repo: https://github.com/pre-commit/mirrors-prettier + rev: v2.7.1 + hooks: + - id: prettier + additional_dependencies: + - prettier@2.8.4