Skip to content

Commit

Permalink
CI: Disable running conventions for individual recipe repos
Browse files Browse the repository at this point in the history
  • Loading branch information
Croydon committed Jun 16, 2024
1 parent 565782f commit 0f70761
Showing 1 changed file with 17 additions and 17 deletions.
34 changes: 17 additions & 17 deletions .github/workflows/cron.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,20 +25,20 @@ jobs:
run: |
chmod +x ./cci/update_from_upstream.sh
source ./cci/update_from_upstream.sh
run-conventions-for-bincrafters:
name: "Run Conventions for Bincrafters"
runs-on: ubuntu-22.04
if: github.event_name != 'push' && github.repository_owner == 'bincrafters'
steps:
- uses: actions/setup-python@v5
with:
python-version: "3.11"
- name: "Run Conventions"
env:
GIT_GITHUB_USERNAME: ${{ secrets.GIT_GITHUB_USERNAME }}
GIT_GITHUB_TOKEN: ${{ secrets.GIT_GITHUB_TOKEN }}
run: |
git config --global user.email "[email protected]"
git config --global user.name "bincrafters-user"
pip install --quiet bincrafters-conventions
bincrafters-conventions --remote bincrafters --remote-max-repos 1 --remote-token="${GIT_GITHUB_USERNAME}:${GIT_GITHUB_TOKEN}";
# run-conventions-for-bincrafters:
# name: "Run Conventions for Bincrafters"
# runs-on: ubuntu-22.04
# if: github.event_name != 'push' && github.repository_owner == 'bincrafters'
# steps:
# - uses: actions/setup-python@v5
# with:
# python-version: "3.11"
# - name: "Run Conventions"
# env:
# GIT_GITHUB_USERNAME: ${{ secrets.GIT_GITHUB_USERNAME }}
# GIT_GITHUB_TOKEN: ${{ secrets.GIT_GITHUB_TOKEN }}
# run: |
# git config --global user.email "[email protected]"
# git config --global user.name "bincrafters-user"
# pip install --quiet bincrafters-conventions
# bincrafters-conventions --remote bincrafters --remote-max-repos 1 --remote-token="${GIT_GITHUB_USERNAME}:${GIT_GITHUB_TOKEN}";

0 comments on commit 0f70761

Please sign in to comment.