Skip to content

Action-Test - [Bump PSModule/Invoke-Pester from 5.1.0 to 5.1.1 #36] by @dependabot[bot] #627

Action-Test - [Bump PSModule/Invoke-Pester from 5.1.0 to 5.1.1 #36] by @dependabot[bot]

Action-Test - [Bump PSModule/Invoke-Pester from 5.1.0 to 5.1.1 #36] by @dependabot[bot] #627

Workflow file for this run

name: Action-Test
run-name: "Action-Test - [${{ github.event.pull_request.title }} #${{ github.event.pull_request.number }}] by @${{ github.actor }}"
on:
workflow_dispatch:
pull_request:
schedule:
- cron: '0 0 * * *'
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
permissions:
contents: read
pull-requests: read
jobs:
ActionTestBasic:
name: Action-Test - [Basic]
runs-on: ubuntu-latest
steps:
# Need to check out as part of the test, as its a local action
- name: Checkout repo
uses: actions/checkout@9c091bb21b7c1c1d1991bb908d89e4e9dddfe3e0 # v7.0.0
with:
persist-credentials: false
- name: Get issue file content
id: GetIssueFileContent
uses: PSModule/GitHub-Script@8083ec1f733f00357ee4d0db0c6056686e483bc0 # v1.9.0
with:
ShowOutput: true
Script: |
tests/Get-IssueFileContent.ps1
- name: Action-Test
id: Action-Test
uses: ./
with:
IssueBody: ${{ fromJson(steps.GetIssueFileContent.outputs.result).issueFileContent }}
- name: Action-Test-Results
uses: PSModule/Invoke-Pester@c5494aba3c07d7bfd81bdbbc9f301e8fa4a729fb # v5.1.1
env:
data: ${{ steps.Action-Test.outputs.data }}