From afdb5fa3cdb678ce44fd6d289a34f8eeeaef934a Mon Sep 17 00:00:00 2001 From: dundargoc <33953936+dundargoc@users.noreply.github.com> Date: Sun, 16 Apr 2023 14:16:19 +0200 Subject: [PATCH] ci: remove unnecessary token usage --- .github/workflows/labeler.yml | 2 -- .github/workflows/lintcommit.yml | 2 -- 2 files changed, 4 deletions(-) diff --git a/.github/workflows/labeler.yml b/.github/workflows/labeler.yml index f85f9d0cda..63219687ed 100644 --- a/.github/workflows/labeler.yml +++ b/.github/workflows/labeler.yml @@ -12,7 +12,6 @@ jobs: steps: - uses: actions/labeler@v4 with: - repo-token: "${{ secrets.GITHUB_TOKEN }}" sync-labels: "" type-scope: @@ -21,7 +20,6 @@ jobs: contents: write pull-requests: write env: - GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} GH_REPO: ${{ github.repository }} PR_NUMBER: ${{ github.event.pull_request.number }} PR_TITLE: ${{ github.event.pull_request.title }} diff --git a/.github/workflows/lintcommit.yml b/.github/workflows/lintcommit.yml index afedbe0b12..77c75fbd76 100644 --- a/.github/workflows/lintcommit.yml +++ b/.github/workflows/lintcommit.yml @@ -8,8 +8,6 @@ jobs: lint-commits: runs-on: ubuntu-latest if: github.event.pull_request.draft == false - env: - GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} steps: - uses: actions/checkout@v3 with: