Skip to content

Commit

Permalink
have dependabot check for workflows + fix auto protocol version (#67)
Browse files Browse the repository at this point in the history
Co-authored-by: Andrey Kaipov <[email protected]>
  • Loading branch information
andreykaipov and andreykaipov authored Dec 17, 2023
1 parent eec7f63 commit 018510c
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 6 deletions.
8 changes: 6 additions & 2 deletions .github/dependabot.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,12 @@ updates:
- package-ecosystem: gomod
directory: /
schedule:
interval: daily
interval: weekly
- package-ecosystem: github-actions
directory: /
schedule:
interval: weekly
- package-ecosystem: docker
directory: /docker
schedule:
interval: daily
interval: weekly
10 changes: 6 additions & 4 deletions .github/workflows/update-protocol-version.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,9 @@ jobs:
- uses: actions/checkout@v4

- name: update version
id: format
id: update
env:
GH_TOKEN: ${{ github.token }}
run: |
./script/bump-protocol-version.sh
version=$(grep obs_websocket_protocol_version version.go | tr -dc '0-9.')
Expand All @@ -28,16 +30,16 @@ jobs:
- name: create pr
uses: peter-evans/create-pull-request@v5
with:
title: ${{ steps.format.outputs.message }}
commit-message: ${{ steps.format.outputs.message }}
title: ${{ steps.update.outputs.message }}
commit-message: ${{ steps.update.outputs.message }}
branch: feature/bump-protocol-version
delete-branch: true
labels: |
feature
reviewers: |
andreykaipov
body: >
${{ steps.format.outputs.link }}
${{ steps.update.outputs.link }}
<br>
There was a new v5 tag in [obsproject/obs-websocket](https://github.com/obsproject/obs-websocket).
Expand Down

0 comments on commit 018510c

Please sign in to comment.