Skip to content

Commit

Permalink
try fix
Browse files Browse the repository at this point in the history
  • Loading branch information
drshriveer committed Jan 26, 2024
1 parent 9b8888d commit 1eef6dc
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 13 deletions.
2 changes: 1 addition & 1 deletion .github/actions/detect-changes/action.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6,12 +6,12 @@ outputs:
runs:
using: "composite"
steps:
- uses: actions/checkout@v3
- uses: dorny/paths-filter@v2
id: changes
with:
filters: |
go:
- '.github/**'
- '**/*.go'
- '**/go.mod'
- 'go.work'
12 changes: 0 additions & 12 deletions .github/actions/setup-repo/action.yaml
Original file line number Diff line number Diff line change
@@ -1,20 +1,8 @@
name: "Setup Repo"
description: "Set up go the way we want"
#inputs:
# commit-bot-perms:
# description: 'Who to greet'
# required: false
# default: 'false'
runs:
using: "composite"
steps:
# - if: inputs.commit-bot-perms == 'true'
# uses: actions/checkout@v3
# with:
# token: ${{ secrets.BOT }}
# - if: inputs.commit-bot-perms == 'false'
# uses: actions/checkout@v3
- uses: actions/checkout@v4
- uses: extractions/setup-just@v1
- uses: actions/setup-go@v5
with:
Expand Down
3 changes: 3 additions & 0 deletions .github/workflows/pr_validation.workflow.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@ jobs:
permissions:
contents: read
steps:
- uses: actions/checkout@v4
- id: changes
uses: ./.github/actions/detect-changes
- if: steps.changes.outputs.go == 'true'
Expand All @@ -25,6 +26,7 @@ jobs:
permissions:
contents: read
steps:
- uses: actions/checkout@v4
- id: changes
uses: ./.github/actions/detect-changes
- if: steps.changes.outputs.go == 'true'
Expand All @@ -37,6 +39,7 @@ jobs:
permissions:
contents: write
steps:
- uses: actions/checkout@v4
- id: changes
uses: ./.github/actions/detect-changes
# with:
Expand Down

0 comments on commit 1eef6dc

Please sign in to comment.