Skip to content

Commit

Permalink
fix: provide github-token to dessant/lock-threads
Browse files Browse the repository at this point in the history
  • Loading branch information
sweep-ai[bot] committed Dec 27, 2023
1 parent f48c985 commit dcf0ca4
Showing 1 changed file with 32 additions and 0 deletions.
32 changes: 32 additions & 0 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
name: Main Workflow

on:
push:
branches:
- main
pull_request:
branches:
- main

jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v2

- name: Set up Go
uses: actions/setup-go@v2
with:
go-version: 1.16

- name: Build
run: go build -v ./...

- name: Test
run: go test -v ./...

- name: Lock threads
uses: dessant/lock-threads@v4
with:
github-token: ${{ secrets.GITHUB_TOKEN }}

0 comments on commit dcf0ca4

Please sign in to comment.