mirror of
https://github.com/Significant-Gravitas/AutoGPT.git
synced 2026-02-05 12:25:04 -05:00
fix refs head
This commit is contained in:
4
.github/workflows/autogpt-infra-ci.yml
vendored
4
.github/workflows/autogpt-infra-ci.yml
vendored
@@ -44,11 +44,11 @@ jobs:
|
||||
- name: Run chart-testing (list-changed)
|
||||
id: list-changed
|
||||
run: |
|
||||
changed=$(ct list-changed --target-branch ${{ github.event.repository.default_branch }})
|
||||
changed=$(ct list-changed --target-branch refs/heads/${{ github.event.repository.default_branch }})
|
||||
if [[ -n "$changed" ]]; then
|
||||
echo "changed=true" >> "$GITHUB_OUTPUT"
|
||||
fi
|
||||
|
||||
- name: Run chart-testing (lint)
|
||||
if: steps.list-changed.outputs.changed == 'true'
|
||||
run: ct lint --target-branch ${{ github.event.repository.default_branch }}
|
||||
run: ct lint --target-branch refs/heads/$${{ github.event.repository.default_branch }}
|
||||
|
||||
Reference in New Issue
Block a user