Skip to content

Commit

Permalink
ghwf debugging
Browse files Browse the repository at this point in the history
  • Loading branch information
garrettladley committed Feb 1, 2024
1 parent d3e5f2c commit 1511757
Show file tree
Hide file tree
Showing 4 changed files with 14 additions and 3 deletions.
4 changes: 4 additions & 0 deletions .github/workflows/auto_assign_author.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,10 @@ on:
pull_request:
types: [opened, ready_for_review, reopened]

concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true

jobs:
auto-add-assignee:
runs-on: ubuntu-latest
Expand Down
3 changes: 3 additions & 0 deletions .github/workflows/auto_request_review.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,9 @@ on:
pull_request:
types: [opened, ready_for_review, reopened]

concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
jobs:
auto-request-review:
runs-on: ubuntu-latest
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/backend.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,15 +27,15 @@ jobs:
uses: actions/setup-go@v3
with:
go-version: "1.21"
- name: Install gofumpt
run: go install mvdan.cc/gofumpt@latest
- name: Check code formatting
run: |
go install mvdan.cc/gofumpt@latest
unformatted_files=$(gofumpt -l ./backend/ 2>/dev/null | grep ".go$")
echo "$unformatted_files"
if [ -n "$unformatted_files" ]; then
echo "Files not formatted:"
echo "$unformatted_files"
exit 0
exit 1
fi
lint:
Expand Down
4 changes: 4 additions & 0 deletions .github/workflows/codeql.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,10 @@ on:
schedule:
- cron: "0 0 * * 1"

concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true

jobs:
analyze-js-ts:
name: Analyze JavaScript and TypeScript
Expand Down

0 comments on commit 1511757

Please sign in to comment.