From 4b6f956272a955a169482a86b635e367ceb6f381 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?St=C3=A9phane=20Brunner?= Date: Tue, 21 Mar 2023 11:01:21 +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 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