Skip to content

Commit

Permalink
Update pr.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
KYTG-Dev authored Jan 9, 2024
1 parent 49102d0 commit df307eb
Showing 1 changed file with 17 additions and 5 deletions.
22 changes: 17 additions & 5 deletions .github/workflows/pr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,17 +3,29 @@ name: Pull Request or Push
on:
push:
branches:
- 'main' # Run on pushes to main
- 'main'
tags-ignore:
- '*' # Ignore pushes to tags
- '*'
pull_request:

jobs:
call_central_workflow:
name: CI
uses: salt-extensions/central-artifacts/.github/workflows/ci.yml@main
with:
setup-vault: true
runs-on: ubuntu-latest # Specify the runner here if not already set
permissions:
contents: write
pull-requests: read

steps:
- name: Set up Azure credentials
env:
AZURE_SUBSCRIPTION_ID: ${{ secrets.AZURE_SUBSCRIPTION_ID }}
AZURE_TENANT_ID: ${{ secrets.AZURE_TENANT_ID }}
AZURE_CLIENT_ID: ${{ secrets.AZURE_CLIENT_ID }}
AZURE_CLIENT_SECRET: ${{ secrets.AZURE_CLIENT_SECRET }}
run: echo "Azure credentials set up"

- name: Run CI Workflow
uses: salt-extensions/central-artifacts/.github/workflows/ci.yml@main
with:
setup-vault: true

0 comments on commit df307eb

Please sign in to comment.