Skip to content

ci: Do not persist credentials after checkout #17

ci: Do not persist credentials after checkout

ci: Do not persist credentials after checkout #17

name: Test Update Issues Tool
on:
pull_request: # Trigger for pull requests.
types: [opened, synchronize, reopened]
paths:
update-issues/**
workflow_dispatch: # Allows for manual triggering.
inputs:
ref:
description: "The ref to build and test."
required: False
concurrency:
group: ${{ github.workflow }}-${{ github.event.number || inputs.ref }}
cancel-in-progress: true
jobs:
test:
name: Test Update Issues Tool
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v4
with:
ref: ${{ inputs.ref || github.ref }}
persist-credentials: false
- name: Test
run: |
cd update-issues
npm ci
npm test