Skip to content

Avoid persisting credentials on checkout step of the Github actions #1937

Avoid persisting credentials on checkout step of the Github actions

Avoid persisting credentials on checkout step of the Github actions #1937

name: Test Galaxy release script
on:
push:
paths:
- '.github/workflows/test_galaxy_release.yaml'
- lib/galaxy/dependencies/**
- lib/galaxy/version.py
- scripts/release.sh
- test/release.sh
pull_request:
paths:
- '.github/workflows/test_galaxy_release.yaml'
- lib/galaxy/dependencies/**
- lib/galaxy/version.py
- scripts/release.sh
- test/release.sh
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
jobs:
test:
name: Test
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
with:
fetch-depth: 0
persist-credentials: false
- name: Run tests
run: ./test/release.sh