From b306110e169fec31563111880caa6f9f656d7324 Mon Sep 17 00:00:00 2001 From: "Chris \"Not So\" Short" Date: Thu, 4 Jan 2024 16:12:29 +0000 Subject: [PATCH] GITHUB_TOKEN instead of GH_PAT? Release is deprecated... Hmm... --- .github/workflows/build_binaries.yaml | 2 +- .github/workflows/create_release.yaml | 29 --------------------------- 2 files changed, 1 insertion(+), 30 deletions(-) delete mode 100644 .github/workflows/create_release.yaml diff --git a/.github/workflows/build_binaries.yaml b/.github/workflows/build_binaries.yaml index fac9234..a0f2b0c 100644 --- a/.github/workflows/build_binaries.yaml +++ b/.github/workflows/build_binaries.yaml @@ -29,7 +29,7 @@ jobs: uses: actions/setup-go@v4 with: go-version: '>=1.18.0' - token: ${{ secrets.GH_PAT }} + token: ${{ secrets.GITHUB_TOKEN }} check-latest: true - run: go run chkcerts.go https://chrisshort.net 90 diff --git a/.github/workflows/create_release.yaml b/.github/workflows/create_release.yaml deleted file mode 100644 index e73d2b6..0000000 --- a/.github/workflows/create_release.yaml +++ /dev/null @@ -1,29 +0,0 @@ -on: - push: - # Sequence of patterns matched against refs/tags - tags: - - 'v*' # Push events to matching v*, i.e. v1.0, v20.15.10 - -name: Create Release - -jobs: - build: - name: Create Release - runs-on: ubuntu-latest - steps: - - name: Checkout code - uses: actions/checkout@v2 - - name: Create Release - id: create_release - uses: actions/create-release@v1 - env: - GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} # This token is provided by Actions, you do not need to create your own token - with: - tag_name: ${{ github.ref }} - release_name: Release ${{ github.ref }} - body: | - Changes in this Release - - First Change - - Second Change - draft: false - prerelease: false \ No newline at end of file