Skip to content

Commit

Permalink
Add automatic release build and fix dependabot
Browse files Browse the repository at this point in the history
  • Loading branch information
kleo-53 committed Sep 17, 2023
1 parent 2ae4b04 commit 37a5f7d
Show file tree
Hide file tree
Showing 4 changed files with 30 additions and 1 deletion.
2 changes: 1 addition & 1 deletion .github/dependabot.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,4 +4,4 @@ updates:
directory: "/"
schedule:
interval: "monthly"
open-pull-requests-limit: 10
open-pull-requests-limit: 1
25 changes: 25 additions & 0 deletions .github/workflows/create-release.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
name: Create Release

on:
workflow_run:
workflows: ["black", "main"]
types:
- completed

jobs:
create_release:
runs-on: ubuntu-latest

needs: ["main", "black"]

steps:
- name: Checkout code
uses: actions/checkout@v2

- name: Create Release
id: create_release
uses: softprops/action-gh-release@v1
with:
files: |
dist/pioneer-uploader.exe
token: ${{ secrets.GITHUB_TOKEN }}
4 changes: 4 additions & 0 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,13 @@ on:
push:
branches:
- main
branches-ignore:
- 'dependabot**'
pull_request:
branches:
- main
branches-ignore:
- 'dependabot**'

jobs:
build:
Expand Down
Binary file modified requirements.txt
Binary file not shown.

0 comments on commit 37a5f7d

Please sign in to comment.