Skip to content

test

test #29

Workflow file for this run

name: test
on:
pull_request:
types: [opened, synchronize, reopened]
workflow_dispatch:
inputs:
pull-request-number:
description: 'PR number'
required: true
permissions:
contents: read
pull-requests: write
jobs:
filter:
runs-on: ubuntu-latest
outputs:
test: ${{ steps.filter.outputs.test }}
steps:
- uses: actions/checkout@v4
- uses: dorny/paths-filter@v3
id: filter
with:
filters: |
test:
- "**.md"
select-env:
needs: filter
if: ${{ needs.filter.outputs.test == 'true' }}
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: aquaproj/aqua-installer@v2.3.0
with:
aqua_version: v2.21.0
- run: ls -la
- id: pr
if: ${{ inputs.pull-request-number == '' }}
uses: ./.github/composite/get-pr-number-from-sha
- run: github-comment post --pr ${{ steps.pr.outputs.number || inputs.pull-request-number }} -template ${{ steps.pr.outputs.number || inputs.pull-request-number }}
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}