FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

Update snapshots bot checkout and permission check by martinRenou · Pull Request #1689 · bqplot/bqplot · GitHub

/ bqplot Public
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension .yaml  (1) All 1 file type selected
Only manifest files
Viewed files
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Unified
Split
Hide whitespace
Diff view
Unified
Split
Hide whitespace
24 changes: 4 additions & 20 deletions .github/workflows/update_galata_references.yaml
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters
Original file line number Diff line number Diff line change
Expand Up @@ -15,30 +15,14 @@ defaults:
jobs:
update-reference-screenshots:
name: Update Galata References
if: >
(
github.event.issue.author_association == 'OWNER' ||
github.event.issue.author_association == 'COLLABORATOR' ||
github.event.issue.author_association == 'MEMBER'
) && github.event.issue.pull_request && contains(github.event.comment.body, 'please update snapshots')
runs-on: ubuntu-latest

if: github.event.issue.pull_request && contains(github.event.comment.body, 'please update snapshots')

steps:
- name: Checkout
uses: actions/checkout@v4
- uses: jupyterlab/maintainer-tools/.github/actions/update-snapshots-checkout@main
with:
token: ${{ secrets.GITHUB_TOKEN }}

- name: Configure git to use https
run: git config --global hub.protocol https

- name: Install hub
run: sudo apt-get update && sudo apt-get install -y hub

- name: Checkout the branch from the PR that triggered the job
run: hub pr checkout ${{ github.event.issue.number }}
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
github_token: ${{ secrets.GITHUB_TOKEN }}

- name: Install Conda environment with Micromamba
uses: mamba-org/setup-micromamba@main
Expand Down
Loading

Back | FazBrowse Home | New Git URL