From d83ec4d4777ac69fa2f9f4c642eba59df6aafd3e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?St=C3=A9phane=20Brunner?= Date: Tue, 21 Mar 2023 11:01:45 +0100 Subject: [PATCH] Fix the release creation in the changelog workflow --- .github/workflows/changelog.yaml | 4 ++-- .pre-commit-config.yaml | 7 +++++++ 2 files changed, 9 insertions(+), 2 deletions(-) create mode 100644 .pre-commit-config.yaml diff --git a/.github/workflows/changelog.yaml b/.github/workflows/changelog.yaml index a2961f30..23e8815e 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 00000000..2d501ac6 --- /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