Skip to content
This repository has been archived by the owner on Aug 26, 2020. It is now read-only.

github action for the conda-forge autotick bot

License

BSD-3-Clause, MIT licenses found

Licenses found

BSD-3-Clause
LICENSE
MIT
BASE_IMAGE_LICENSE
Notifications You must be signed in to change notification settings

regro/cf-autotick-bot-action

Repository files navigation

DEPRECATED - dev has moved to conda-forge/automerge-action

regro-cf-autotick-bot-action

Build Status

github action for the conda-forge autotick bot

Usage

To use this action, add the following YAML file at .github/workflows/main.yml

on:
  status: {}
  check_suite:
    types:
      - completed

jobs:
  regro-cf-autotick-bot-action:
    runs-on: ubuntu-latest
    name: regro-cf-autotick-bot-action
    steps:
      - name: checkout
        uses: actions/checkout@v2
      - name: regro-cf-autotick-bot-action
        id: regro-cf-autotick-bot-action
        uses: regro/cf-autotick-bot-action@master
        with:
          github_token: ${{ secrets.GITHUB_TOKEN }}

Opt-out or Opt-in

You can turn off PR automerging per feedstock by adding the following to the conda-forge.yml

bot:
  automerge: False

To ignore the linter, add the following.

bot:
  automerge: False
  automerge_options:
    ignored_statuses:
      - linter

The default is currently False if these entries are not present. Set them to True to turn on automerging.

Deployment

The GitHub action always points to the prod tag of the condaforge/rego-cf-autotick-bot-action Docker image.

  • To redeploy the bot, push a new image to the prod tag.

    docker build -t condaforge/rego-cf-autotick-bot-action:prod .
    docker push condaforge/rego-cf-autotick-bot-action:prod
    
  • To take the bot down, delete the tag from the Docker repository. The GitHub Action will still run in this case, but it will always fail.

Testing

The code has a test suite. However, to test it live, you can do one of two things.

  1. Bump the version of this package by making a GitHub release. Then, after roughly an hour or so, this feedstock should get an automerge PR with the version bump. Several other PRs are open on the feedstock and those should not be merged by the bot.

  2. You can push an image to the dev tag of the Docker repo. Then, point the action in the .github/workflows/main.yaml of your testing repo to the dev branch of this repo by changing regro/cf-autotick-bot-action@master to regro/cf-autotick-bot-action@dev.

About

github action for the conda-forge autotick bot

Resources

License

BSD-3-Clause, MIT licenses found

Licenses found

BSD-3-Clause
LICENSE
MIT
BASE_IMAGE_LICENSE

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published