Adding FLOW_ELEMENT_ERROR, FLOW_ACTIONCALL_DETAIL #13
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Close Production Pull Request | |
# only trigger on pull request closed events | |
on: | |
pull_request_target: | |
types: [closed] | |
branches: | |
- main | |
paths: | |
- "force-app/**" | |
jobs: | |
merge_job: | |
# this job will only run if the PR has been merged | |
if: github.event.pull_request.merged == true | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Deploy on ${{ vars.ENVIRONMENT_NAME }} | |
uses: jawills/sf-deploy@v1.0 | |
with: | |
SFDX_AUTH_URL: ${{ secrets.SFDX_AUTH_URL }} | |
DRY_RUN: false | |
TEST_LEVEL: NoTestRun | |
close_job: | |
# this job will only run if the PR has been closed without being merged | |
if: github.event.pull_request.merged == false | |
runs-on: ubuntu-latest | |
steps: | |
- run: | | |
echo PR #${{ github.event.number }} has been closed without being merge |