Skip to content

Commit 325cf66

Browse files
paketo-botryanmoran
authored andcommitted
Update github-config to 83a0acd
1 parent 0368df4 commit 325cf66

1 file changed

Lines changed: 4 additions & 11 deletions

File tree

.github/workflows/send-dependency-update.yml

Lines changed: 4 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -16,13 +16,11 @@ jobs:
1616
name: Send Dispatch
1717
steps:
1818

19-
# Parses the release event JSON and fetches the details that make up a dependency update.
20-
# Dependency update details are provided as outputs.
21-
- name: Parse Release Dependency
19+
- name: Parse ID and Version
2220
id: dependency
23-
uses: paketo-buildpacks/github-config/actions/dependency/parse@master
24-
with:
25-
token: ${{ secrets.PAKETO_BOT_GITHUB_TOKEN }}
21+
run: |
22+
echo "::set-output name=id::$(jq -r .repository.full_name ${{ github.event_path }})"
23+
echo "::set-output name=version::$(jq -r .release.tag_name ${{ github.event_path }} | sed 's/^v//')"
2624
2725
# Generic repository dispatch sender.
2826
- name: Send Repository Dispatch
@@ -36,11 +34,6 @@ jobs:
3634
"strategy": "replace",
3735
"dependency": {
3836
"id": "${{ steps.dependency.outputs.id }}",
39-
"sha256": "${{ steps.dependency.outputs.sha256 }}",
40-
"source": "${{ steps.dependency.outputs.source }}",
41-
"source_sha256": "${{ steps.dependency.outputs.source_sha256 }}",
42-
"stacks": ${{ steps.dependency.outputs.stacks }},
43-
"uri": "${{ steps.dependency.outputs.uri }}",
4437
"version": "${{ steps.dependency.outputs.version }}"
4538
}
4639
}

0 commit comments

Comments
 (0)