diff --git a/.gitea/workflows/diff-output.yaml b/.gitea/workflows/diff-output.yaml index f4cc645..9d066eb 100644 --- a/.gitea/workflows/diff-output.yaml +++ b/.gitea/workflows/diff-output.yaml @@ -12,9 +12,7 @@ on: ref: required: true type: string - secrets: - token: - required: true + secrets: [] outputs: is_changed: description: "'true' if the input files are changed otherwise 'false'" @@ -32,7 +30,7 @@ jobs: with: repository: ${{ inputs.repository }} ref: ${{ inputs.ref }} - token: ${{ secrets.token }} + token: ${{ github.token }} - name: Get changed files in the doorman-homeassistant folder id: changed-files-specific diff --git a/.gitea/workflows/docker-publish-private.yaml b/.gitea/workflows/docker-publish-private.yaml index 5de4230..e26e03c 100644 --- a/.gitea/workflows/docker-publish-private.yaml +++ b/.gitea/workflows/docker-publish-private.yaml @@ -12,9 +12,7 @@ on: image_name: required: true type: string - secrets: - token: - required: true + secrets: [] jobs: docker: @@ -28,7 +26,7 @@ jobs: with: repository: ${{ inputs.repository }} ref: ${{ inputs.ref }} - token: ${{ secrets.token }} + token: ${{ github.token }} - name: Build Docker image run: docker buildx build . -t 192.168.1.150:9120/${{ inputs.image_name }}:latest