diff --git a/.github/workflows/pr-goreleaser.yaml b/.github/workflows/pr-goreleaser.yaml new file mode 100644 index 0000000..da68127 --- /dev/null +++ b/.github/workflows/pr-goreleaser.yaml @@ -0,0 +1,27 @@ +name: pr-gorelaser + +permissions: {} + +on: + pull_request: + branches: + - 'master' + +jobs: + validate-config: + runs-on: ubuntu-latest + steps: + - name: Harden Runner + uses: step-security/harden-runner@5c7944e73c4c2a096b17a9cb74d65b6c2bbafbde # v2.9.1 + with: + egress-policy: audit + - name: Checkout + uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7 + - name: Validate .goreleaser.yaml + uses: goreleaser/goreleaser-action@286f3b13b1b49da4ac219696163fb8c1c93e1200 # v6.0.0 + with: + version: latest + args: release check + env: + RUNNER_TOKEN: ${{ github.token }} + GITHUB_TOKEN: ${{ secrets.DOODLE_OSS_BOT}}