diff --git a/.github/dependabot.yml b/.github/dependabot.yml index 40f4307..77d5dae 100644 --- a/.github/dependabot.yml +++ b/.github/dependabot.yml @@ -4,4 +4,4 @@ updates: directory: "/" schedule: interval: "monthly" - open-pull-requests-limit: 10 \ No newline at end of file + open-pull-requests-limit: 1 \ No newline at end of file diff --git a/.github/workflows/create-release.yml b/.github/workflows/create-release.yml new file mode 100644 index 0000000..220ae92 --- /dev/null +++ b/.github/workflows/create-release.yml @@ -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 }} diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 808a274..2314733 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -4,9 +4,13 @@ on: push: branches: - main + branches-ignore: + - 'dependabot**' pull_request: branches: - main + branches-ignore: + - 'dependabot**' jobs: build: diff --git a/requirements.txt b/requirements.txt index fce33d8..1443fc5 100644 Binary files a/requirements.txt and b/requirements.txt differ