Skip to content

Commit dd05fc5

Browse files
authored
Merge pull request #164 from opsmill/hackaton-auto-update
dependabot update
2 parents fafed95 + 82e5670 commit dd05fc5

File tree

2 files changed

+27
-1
lines changed

2 files changed

+27
-1
lines changed

.github/workflows/trigger.yml

Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
---
2+
# yamllint disable rule:truthy
3+
name: Submodule and dependabot Update
4+
5+
on:
6+
release:
7+
types:
8+
- published
9+
10+
jobs:
11+
trigger-submodule:
12+
runs-on: ubuntu-latest
13+
steps:
14+
- name: Checkout code
15+
uses: actions/checkout@v4
16+
17+
- name: Trigger update
18+
env:
19+
RELEASE_TAG: "${{ github.event.release.tag_name }}"
20+
run: |
21+
echo "${{ github.event.release.tag_name }}"
22+
curl -X POST \
23+
-H "Authorization: token ${{ secrets.GITHUB_TOKEN }}" \
24+
-H "Accept: application/vnd.github.v3+json" \
25+
https://api.github.com/repos/opsmill/infrahub-demo-dc-fabric-develop/dispatches \
26+
-d "{\"event_type\":\"trigger-dependabot-update\", \"client_payload\": {\"version\": \"${{ github.event.release.tag_name }}\"}}"

.yamllint.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,6 @@ rules:
1414
# See https://github.com/prettier/prettier/pull/10926 or https://github.com/redhat-developer/vscode-yaml/issues/433
1515
min-spaces-from-content: 1
1616
line-length:
17-
max: 120
17+
max: 140
1818
allow-non-breakable-words: true
1919
allow-non-breakable-inline-mappings: false

0 commit comments

Comments
 (0)