Skip to content

Commit

Permalink
Replace local action by repo-ref action
Browse files Browse the repository at this point in the history
  • Loading branch information
fredrikhr committed Jan 28, 2024
1 parent 0b78156 commit df0e1df
Showing 1 changed file with 4 additions and 12 deletions.
16 changes: 4 additions & 12 deletions .github/workflows/msidp-authentication-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,10 +22,8 @@ jobs:
name: Acquire Azure AD Access Token
runs-on: ubuntu-latest
steps:
- name: Checkout ${{ github.repository }}@${{ github.ref }}
uses: actions/checkout@v4.1.1
- name: Authenticate using GitHub action
uses: ./run/ms-idp-workflow-run-auth
uses: thnetii/github-actions/run/ms-idp-workflow-run-auth@main
with:
tenant-id: ${{ inputs.tenant-id }}
client-id: ${{ inputs.client-id }}
Expand All @@ -34,10 +32,8 @@ jobs:
name: Acquire Azure AD Access Token (using temporary certificate)
runs-on: ubuntu-latest
steps:
- name: Checkout ${{ github.repository }}@${{ github.ref }}
uses: actions/checkout@v4.1.1
- name: Authenticate using GitHub action
uses: ./run/ms-idp-workflow-run-auth
uses: thnetii/github-actions/run/ms-idp-workflow-run-auth@main
with:
tenant-id: ${{ inputs.tenant-id }}
client-id: ${{ inputs.client-id }}
Expand All @@ -47,10 +43,8 @@ jobs:
name: Acquire Azure AD Access Token (using temporary secret)
runs-on: ubuntu-latest
steps:
- name: Checkout ${{ github.repository }}@${{ github.ref }}
uses: actions/checkout@v4.1.1
- name: Authenticate using GitHub action
uses: ./run/ms-idp-workflow-run-auth
uses: thnetii/github-actions/run/ms-idp-workflow-run-auth@main
with:
tenant-id: ${{ inputs.tenant-id }}
client-id: ${{ inputs.client-id }}
Expand All @@ -60,10 +54,8 @@ jobs:
name: Acquire Azure AD Access Token (using ACS with temporary secret)
runs-on: ubuntu-latest
steps:
- name: Checkout ${{ github.repository }}@${{ github.ref }}
uses: actions/checkout@v4.1.1
- name: Authenticate using GitHub action
uses: ./run/ms-idp-workflow-run-auth
uses: thnetii/github-actions/run/ms-idp-workflow-run-auth@main
with:
tenant-id: ${{ inputs.tenant-id }}
client-id: ${{ inputs.client-id }}
Expand Down

0 comments on commit df0e1df

Please sign in to comment.