Skip to content

Action-Test - [Bump PSModule/GitHub-Script from 1.7.10 to 1.8.0 #26] by @dependabot[bot] #499

Action-Test - [Bump PSModule/GitHub-Script from 1.7.10 to 1.8.0 #26] by @dependabot[bot]

Action-Test - [Bump PSModule/GitHub-Script from 1.7.10 to 1.8.0 #26] by @dependabot[bot] #499

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@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
with:
persist-credentials: false
- name: Get issue file content
id: GetIssueFileContent
uses: PSModule/GitHub-Script@1ee97bbc652d19c38ae12f6e1e47e9d9fbd12d0a # v1.8.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@abddf7bef0d0614d7ca322036af6a06ee0fb4d44 # v4.2.4
env:
data: ${{ steps.Action-Test.outputs.data }}