Skip to content

Commit

Permalink
Fix CI (#374)
Browse files Browse the repository at this point in the history
  • Loading branch information
robertdstein committed Mar 27, 2024
1 parent 5a57298 commit d28f2c6
Showing 1 changed file with 2 additions and 21 deletions.
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
# This is a basic workflow to help you get started with Actions

name: CI

# Controls when the action will run.
Expand All @@ -8,16 +7,9 @@ on:
push:
pull_request:

# run the pipeline on the 0th minute of the 0th hour of day 1 and 15 every month
schedule:
- cron: '0 0 1,15 * *'

# Allows you to run this workflow manually from the Actions tab
workflow_dispatch:

# A workflow run is made up of one or more jobs that can run sequentially or in parallel
jobs:
build:
ci:
# The type of runner that the job will run on
runs-on: ubuntu-latest

Expand All @@ -29,7 +21,7 @@ jobs:
# Steps represent a sequence of tasks that will be executed as part of the job
steps:
# Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it
- uses: actions/checkout@v2
- uses: actions/checkout@v3

# Set up the python versions
- name: Set up Python ${{ matrix.python-version }}
Expand Down Expand Up @@ -82,14 +74,3 @@ jobs:
poetry publish -n --build
env:
POETRY_PYPI_TOKEN_PYPI: ${{ secrets.PYPI_API_TOKEN }}

dependabot:
needs: [build]
runs-on: ubuntu-latest
if: ${{ github.actor == 'dependabot[bot]' && github.event_name == 'pull_request'}}
steps:
- name: Enable auto-merge for Dependabot PRs
run: gh pr merge --auto --merge "$PR_URL"
env:
PR_URL: ${{github.event.pull_request.html_url}}
GITHUB_TOKEN: ${{secrets.GITHUB_TOKEN}}

0 comments on commit d28f2c6

Please sign in to comment.