From 351a0b4a46897179678db4e39c02346d427dcde6 Mon Sep 17 00:00:00 2001 From: Tristan Labelle Date: Tue, 10 Jun 2025 09:51:20 -0400 Subject: [PATCH 1/2] Update workflow to run action from current repo and revision --- .github/workflows/pull_request_validation.yml | 15 ++++----------- 1 file changed, 4 insertions(+), 11 deletions(-) diff --git a/.github/workflows/pull_request_validation.yml b/.github/workflows/pull_request_validation.yml index c4a299e..8993ec4 100644 --- a/.github/workflows/pull_request_validation.yml +++ b/.github/workflows/pull_request_validation.yml @@ -13,22 +13,15 @@ jobs: validate: runs-on: windows-latest steps: - - name: Log Environment - shell: pwsh - run: | - Write-Host "Current path: $(Get-Location)" - Write-Host "Current path: $(Get-Location -PSProvider FileSystem)" - Get-ChildItem -Recurse -Force - - name: Install Dashcam - uses: thebrowsercompany/action-dashcam@main + uses: ./. - name: Start Dashcam - uses: thebrowsercompany/action-dashcam/start@main + uses: ./start with: api-key: "1234567890" - + - name: Stop Dashcam - uses: thebrowsercompany/action-dashcam/stop@main + uses: ./stop with: project-id: "507f1f77bcf86cd799439011" From ff885b775ae0d3be867483b0ccdbbdd00ef1702f Mon Sep 17 00:00:00 2001 From: Tristan Labelle Date: Tue, 10 Jun 2025 09:53:24 -0400 Subject: [PATCH 2/2] Add checkout --- .github/workflows/pull_request_validation.yml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/.github/workflows/pull_request_validation.yml b/.github/workflows/pull_request_validation.yml index 8993ec4..658b3ef 100644 --- a/.github/workflows/pull_request_validation.yml +++ b/.github/workflows/pull_request_validation.yml @@ -13,6 +13,9 @@ jobs: validate: runs-on: windows-latest steps: + - name: Checkout code + uses: actions/checkout@v4.2.2 + - name: Install Dashcam uses: ./.