Skip to content

Commit

Permalink
Make sure nala action runs only once
Browse files Browse the repository at this point in the history
  • Loading branch information
zagi25 committed Sep 26, 2024
1 parent c849da2 commit d8591d6
Showing 1 changed file with 14 additions and 15 deletions.
29 changes: 14 additions & 15 deletions .github/workflows/run-nala-on-dme.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,23 +10,22 @@ jobs:
if: github.event.label.name == 'run-on-dme'
|| (github.event.action == 'synchronize' && contains(join(github.event.pull_request.labels.*.name, ','), 'run-on-dme'))
|| (github.event.action =='reopened' && contains(join(github.event.pull_request.labels.*.name, ','), 'run-on-dme'))
)
runs-on: ubuntu-latest

steps:
- name: Check out repository
uses: actions/checkout@v3
# - name: Run Nala
# uses: adobecom/dme-partners@stage # Change if doing dev work
# env:
# labels: ${{ join(github.event.pull_request.labels.*.name, ' ') }}
# branch: ${{ github.event.pull_request.head.ref }}
# repoName: ${{ github.repository }}
# prUrl: ${{ github.event.pull_request.head.repo.html_url }}
# prOrg: ${{ github.event.pull_request.head.repo.owner.login }}
# prRepo: ${{ github.event.pull_request.head.repo.name }}
# prBranch: ${{ github.event.pull_request.head.ref }}
# prBaseBranch: ${{ github.event.pull_request.base.ref }}
# IMS_EMAIL: ${{ secrets.IMS_EMAIL }}
# IMS_PASS: ${{ secrets.IMS_PASS }}
# HLX_API_KEY: ${{ secrets.HLX_API_KEY }}
- name: Run Nala
uses: adobecom/dme-partners@stage # Change if doing dev work
env:
labels: ${{ '@anonymous' }}
branch: ${{ github.event.pull_request.head.ref }}
repoName: ${{ github.repository }}
prUrl: ${{ github.event.pull_request.head.repo.html_url }}
prOrg: ${{ github.event.pull_request.head.repo.owner.login }}
prRepo: ${{ github.event.pull_request.head.repo.name }}
prBranch: ${{ github.event.pull_request.head.ref }}
prBaseBranch: ${{ github.event.pull_request.base.ref }}
IMS_EMAIL: ${{ secrets.IMS_EMAIL }}
IMS_PASS: ${{ secrets.IMS_PASS }}
HLX_API_KEY: ${{ secrets.HLX_API_KEY }}

0 comments on commit d8591d6

Please sign in to comment.