diff --git a/.github/workflows/SubmitStabilityJobs.yaml b/.github/workflows/SubmitStabilityJobs.yaml index 5405892fd22..bb6b34e005c 100644 --- a/.github/workflows/SubmitStabilityJobs.yaml +++ b/.github/workflows/SubmitStabilityJobs.yaml @@ -15,9 +15,12 @@ jobs: outputs: officialBranches: ${{ steps.getOfficialBranches.outputs.branchesJson }} steps: + - name: Checkout + uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1 + - name: Get Official Branches id: getOfficialBranches - uses: microsoft/BCApps/.github/actions/GetGitBranches@main + uses: ./.github/actions/GetGitBranches with: include: "['releases/*']" @@ -38,10 +41,13 @@ jobs: app-id: ${{ vars.APP_ID }} private-key: ${{ secrets.PRIVATE_KEY }} + - name: Checkout + uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1 + - name: Submit Stability Job env: GH_TOKEN: ${{ steps.app-token.outputs.token }} - uses: microsoft/BCApps/.github/actions/RunAutomation@main + uses: ./.github/actions/RunAutomation with: automations: SubmitStabilityJob targetBranch: ${{ matrix.branch }} diff --git a/.github/workflows/UpdateALGoProjects.yaml b/.github/workflows/UpdateALGoProjects.yaml index 5fd1f893f9b..998002a736b 100644 --- a/.github/workflows/UpdateALGoProjects.yaml +++ b/.github/workflows/UpdateALGoProjects.yaml @@ -24,9 +24,12 @@ jobs: with: egress-policy: audit + - name: Checkout + uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1 + - name: Get Official Branches id: getOfficialBranches - uses: microsoft/BCApps/.github/actions/GetGitBranches@main + uses: ./.github/actions/GetGitBranches with: include: "['main', 'releases/*']" @@ -54,10 +57,18 @@ jobs: app-id: ${{ vars.APP_ID }} private-key: ${{ secrets.PRIVATE_KEY }} + - name: Checkout actions + uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1 + with: + path: _actions + sparse-checkout: | + .github/actions + build/scripts + - name: Update AL-Go Project Dependencies env: GH_TOKEN: ${{ steps.app-token.outputs.token }} - uses: microsoft/BCApps/.github/actions/RunAutomation@main + uses: ./_actions/.github/actions/RunAutomation with: automations: UpdateUseProjectDependencies targetBranch: ${{ matrix.branch }} diff --git a/.github/workflows/UpdateBCArtifactVersion.yaml b/.github/workflows/UpdateBCArtifactVersion.yaml index c9d2a92be04..d9cb8f26f7f 100644 --- a/.github/workflows/UpdateBCArtifactVersion.yaml +++ b/.github/workflows/UpdateBCArtifactVersion.yaml @@ -24,9 +24,12 @@ jobs: with: egress-policy: audit + - name: Checkout + uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1 + - name: Get Official Branches id: getOfficialBranches - uses: microsoft/BCApps/.github/actions/GetGitBranches@main + uses: ./.github/actions/GetGitBranches with: include: "['main', 'releases/*']" @@ -54,10 +57,18 @@ jobs: app-id: ${{ vars.APP_ID }} private-key: ${{ secrets.PRIVATE_KEY }} + - name: Checkout actions + uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1 + with: + path: _actions + sparse-checkout: | + .github/actions + build/scripts + - name: Update BC Artifact Version env: GH_TOKEN: ${{ steps.app-token.outputs.token }} - uses: microsoft/BCApps/.github/actions/RunAutomation@main + uses: ./_actions/.github/actions/RunAutomation with: automations: UpdateBCArtifact diff --git a/.github/workflows/UpdatePackageVersions.yaml b/.github/workflows/UpdatePackageVersions.yaml index 8edb18fbe71..9d68cf92ccd 100644 --- a/.github/workflows/UpdatePackageVersions.yaml +++ b/.github/workflows/UpdatePackageVersions.yaml @@ -24,9 +24,12 @@ jobs: with: egress-policy: audit + - name: Checkout + uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1 + - name: Get Official Branches id: getOfficialBranches - uses: microsoft/BCApps/.github/actions/GetGitBranches@main + uses: ./.github/actions/GetGitBranches with: include: "['main', 'releases/*']" @@ -54,10 +57,18 @@ jobs: app-id: ${{ vars.APP_ID }} private-key: ${{ secrets.PRIVATE_KEY }} + - name: Checkout actions + uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1 + with: + path: _actions + sparse-checkout: | + .github/actions + build/scripts + - name: Update Package Versions env: GH_TOKEN: ${{ steps.app-token.outputs.token }} - uses: microsoft/BCApps/.github/actions/RunAutomation@main + uses: ./_actions/.github/actions/RunAutomation with: automations: UpdateAppBaselines,UpdateAppTranslations targetBranch: ${{ matrix.branch }} \ No newline at end of file diff --git a/.github/workflows/VerifyAppChanges.yaml b/.github/workflows/VerifyAppChanges.yaml index 2e2196bf74b..ce0a2658407 100644 --- a/.github/workflows/VerifyAppChanges.yaml +++ b/.github/workflows/VerifyAppChanges.yaml @@ -21,4 +21,4 @@ jobs: with: ref: ${{ github.sha }} - - uses: microsoft/BCApps/.github/actions/TestPreprocessorSymbols@main + - uses: ./.github/actions/TestPreprocessorSymbols