Skip to content

Add new training for scATAC-seq analysis using SnapATAC2 #157

Add new training for scATAC-seq analysis using SnapATAC2

Add new training for scATAC-seq analysis using SnapATAC2 #157

name: "[Cron] Add missing data-library.yaml files"
on:
workflow_dispatch:
schedule:
- cron: '45 0 * * 3'
jobs:
runner-job:
runs-on: ubuntu-latest
# Only run on main repo on and PRs that match the main repo.
if: |
github.repository == 'galaxyproject/training-material' &&
(github.event_name != 'pull_request' ||
github.event.pull_request.head.repo.full_name == github.repository)
steps:
- uses: actions/checkout@v2
with:
fetch-depth: 1
# BEGIN Dependencies
- uses: ruby/setup-ruby@v1
with:
ruby-version: "3.0"
- uses: actions/cache@v2
with:
path: |
vendor/bundle
key: ${{ runner.os }}-gems-${{ hashFiles('**/Gemfile.lock') }}
restore-keys: |
${{ runner.os }}-gems-
- name: Install dependencies
run: |
gem install bundler
bundle config path vendor/bundle
bundle install --jobs 4 --retry 3
bundle pristine ffi
# END Dependencies
- name: Update data libraries
id: generate
run: |
grep zenodo_link: -R topics -l | grep '.md$' | xargs -r -n 1 bundle exec ruby bin/update-data-library update --fragile
- name: Create Pull Request
# If it's not a Pull Request then commit any changes as a new PR.
if: |
github.event_name != 'pull_request'
uses: peter-evans/create-pull-request@v3
with:
title: Add missing data-library.yaml files
branch-suffix: timestamp
commit-message: Adds data-library.yaml for tutorials
add-paths: **/data-library.yaml

Check failure on line 52 in .github/workflows/update-libraries.yaml

View workflow run for this annotation

GitHub Actions / .github/workflows/update-libraries.yaml

Invalid workflow file

You have an error in your yaml syntax on line 52