From 394b7241333ed8866c062c9f4dc259a0337466cb Mon Sep 17 00:00:00 2001 From: Oleg Kovalov Date: Thu, 27 Jan 2022 13:02:35 +0100 Subject: [PATCH] Use better CI scripts (#27) --- .github/workflows/build.yml | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 93c6c18..8367d56 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -1,5 +1,7 @@ name: build +permissions: read-all + on: push: branches: [main] @@ -14,10 +16,12 @@ on: # See https://github.com/cristalhq/.github/.github/workflows jobs: build: - uses: cristalhq/.github/.github/workflows/build.yml@main + uses: cristalhq/.github/.github/workflows/build.yml@e7c9d97e1ed043d608a701c651cf6c0820dc44f2 # v0.1.1 release: if: github.event_name == 'workflow_dispatch' - uses: cristalhq/.github/.github/workflows/release.yml@main + uses: cristalhq/.github/.github/workflows/release.yml@e7c9d97e1ed043d608a701c651cf6c0820dc44f2 # v0.1.1 + permissions: + contents: write with: tag: ${{ github.event.input.tag }}