Skip to content

feat: add aube

feat: add aube #16865

name: rerun-staged-recipes-linter
on:
issue_comment: null
permissions:
contents: read
checks: write
actions: write
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: false
jobs:
rerun-linter:
name: rerun-linter
runs-on: ubuntu-slim
if: ${{ (github.event_name == 'issue_comment' && github.event.issue.pull_request) }}
defaults:
run:
shell: bash -leo pipefail {0}
steps:
- name: checkout code
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
- name: install code
uses: mamba-org/setup-micromamba@d7c9bd84e824b79d2af72a2d4196c7f4300d3476 # v3.0.0
with:
micromamba-version: "2.7.0-0"
environment-name: lint
condarc: |
show_channel_urls: true
channel_priority: strict
channels:
- conda-forge
create-args: >-
pygithub
- name: rerun linter
run: |
python .github/workflows/scripts/linter_issue_comment.py \
--owner=${{ github.repository_owner }} \
--pr-num=${{ github.event.issue.number }}
env:
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}