Skip to content

Action-Test - [Bump actions/checkout from 6.0.2 to 7.0.0 #29] by @MariusStorhaug #552

Action-Test - [Bump actions/checkout from 6.0.2 to 7.0.0 #29] by @MariusStorhaug

Action-Test - [Bump actions/checkout from 6.0.2 to 7.0.0 #29] by @MariusStorhaug #552

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@abddf7bef0d0614d7ca322036af6a06ee0fb4d44 # v4.2.4
env:
data: ${{ steps.Action-Test.outputs.data }}