combine checkouts

pull/36525/head
Daniel Schmidt 1 year ago
parent ef61cbfe73
commit 35bc41e3e2

@ -50,6 +50,9 @@ jobs:
with:
sparse-checkout: |
version/VERSION
.changie.yaml
.changes/
sparse-checkout-cone-mode: false
ref: ${{ github.ref }} # Ref refers to the target branch of this PR
- name: "Check for changelog entry"
@ -104,7 +107,6 @@ jobs:
}
}
// TODO: Does this need a JSON.parse?
const changesPresent = ${{steps.changelog.outputs.changes}};
const changedChangesFiles = ${{steps.changelog.outputs.changes_files}};
const changelogChangesPresent = ${{steps.changelog.outputs.changelog}};
@ -185,15 +187,6 @@ jobs:
// Nothing to complain about, so delete any existing comment
await createOrUpdateChangelogComment("", true);
- name: Checkout changie config
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
with:
ref: ${{ github.head_ref }}
sparse-checkout: |
.changie.yaml
.changes/
sparse-checkout-cone-mode: false
- name: Validate changie fragment is valid
uses: miniscruff/changie-action@6dcc2533cac0495148ed4046c438487e4dceaa23 # v2.0.0
with:

Loading…
Cancel
Save