Skip to content
This repository has been archived by the owner on Oct 23, 2024. It is now read-only.

Commit

Permalink
Merge pull request #81 from planetscale/fatih-remove-private-acces
Browse files Browse the repository at this point in the history
Remove and update PAT's for the public release
  • Loading branch information
fatih authored May 13, 2021
2 parents 554e259 + 1ad8793 commit c07c381
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 20 deletions.
13 changes: 1 addition & 12 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,12 +13,6 @@ jobs:
runs-on: ubuntu-latest
steps:

- name: Configure git private repo access
env:
GITHUB_TOKEN: ${{ secrets.PLANETSCALE_ACTIONS_BOT_TOKEN }}
run: |
git config --global --add url."https://x-access-token:${GITHUB_TOKEN}@github.com/".insteadOf "https://github.com/"
- name: Set up Go 1.x
uses: actions/setup-go@v2
with:
Expand Down Expand Up @@ -54,17 +48,12 @@ jobs:
version: v0.156.2
args: release --rm-dist
env:
GITHUB_TOKEN: ${{ secrets.PLANETSCALE_ACTIONS_BOT_TOKEN }}
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

lint:
name: lint
runs-on: ubuntu-latest
steps:
- name: Configure git private repo access
env:
GITHUB_TOKEN: ${{ secrets.PLANETSCALE_ACTIONS_BOT_TOKEN }}
run: |
git config --global --add url."https://${GITHUB_TOKEN}@github.com/".insteadOf "https://github.com/"
- uses: actions/checkout@v2
- name: golangci-lint
uses: golangci/golangci-lint-action@v2
Expand Down
9 changes: 1 addition & 8 deletions .github/workflows/licensed.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,12 +11,6 @@ jobs:
licensed:
runs-on: ubuntu-latest
steps:
- name: Configure git private repo access
env:
GITHUB_TOKEN: ${{ secrets.PLANETSCALE_ACTIONS_BOT_TOKEN }}
run: |
git config --global --add url."https://x-access-token:${GITHUB_TOKEN}@github.com/".insteadOf "https://github.com/"
- name: Checkout repository
uses: actions/checkout@v2

Expand All @@ -34,13 +28,12 @@ jobs:
id: licensed
uses: jonabc/licensed-ci@v1
with:
github_token: ${{ secrets.PLANETSCALE_ACTIONS_BOT_TOKEN }}
github_token: ${{ secrets.GITHUB_TOKEN }}

- name: Report licensed activity
uses: actions/github-script@0.2.0
if: always() && steps.licensed.outputs.pr_number
with:
github-token: ${{ secrets.PLANETSCALE_ACTIONS_BOT_TOKEN }}
script: |
github.issues.createComment({
owner: context.repo.owner,
Expand Down

0 comments on commit c07c381

Please sign in to comment.