Copy name: sfops - Close Issues
on:
issues:
types: [ closed ]
run-name: sfops - Close Issue-${{ github.event.issue.number }}
jobs:
close-pending-action-issues:
name: 'Close Pending Action On Issues'
uses: <your-org-name>/sfops-gh-actions/.github/workflows/close-pending-action-on-issues.yml@main
with:
issue-number: ${{ github.event.issue.number}}
issue-body: ${{ github.event.issue.body }}
issue-title: ${{ github.event.issue.title }}
sfopsbot-app-id: ${{ vars.SFOPSBOT_APP_ID }}
secrets:
DEVHUB_SFDX_AUTH_URL: ${{ secrets.DEVHUB_SFDX_AUTH_URL }}
SB_SFDX_AUTH_URL: ${{ secrets.SB_SFDX_AUTH_URL }}
DATADOG_API_KEY: ${{ secrets.DATADOG_API_KEY }}
DATADOG_HOST: ${{ secrets.DATADOG_HOST }}
SFOPSBOT_APP_PRIVATE_KEY: ${{ secrets.SFOPSBOT_APP_PRIVATE_KEY }}
NPM_TOKEN: ${{ secrets.GITHUB_TOKEN }}
Copy name: 'sfops - Execute Releases to any env'
run-name: 'Deploy a release to envs -${{ github.event.issue.number }}-requested by-${{ github.event.issue.user.login }}'
on:
issues:
types: [ opened , reopened]
jobs:
execute-release-issue-any-envs:
name: 'Act on sfops release issue to any env'
uses: <your-org-name>/sfops-gh-actions/.github/workflows/exec-release-to-any-env.yml@main
with:
issue-number: ${{ github.event.issue.number}}
issue-body: ${{ github.event.issue.body }}
issue-title: ${{ github.event.issue.title }}
metrics-provider: ${{ vars.SFOPS_METRICS_PROVIDER }}
sfopsbot-app-id: ${{ vars.SFOPSBOT_APP_ID }}
secrets:
DEVHUB_SFDX_AUTH_URL: ${{ secrets.DEVHUB_SFDX_AUTH_URL }}
SB_SFDX_AUTH_URL: ${{ secrets.SB_SFDX_AUTH_URL }}
DATADOG_API_KEY: ${{ secrets.DATADOG_API_KEY }}
DATADOG_HOST: ${{ secrets.DATADOG_HOST }}
SFOPSBOT_APP_PRIVATE_KEY: ${{ secrets.SFOPSBOT_APP_PRIVATE_KEY }}
NPM_TOKEN: ${{ secrets.GITHUB_TOKEN }}
Copy name: 'sfops - Execute Releases'
run-name: 'Deploy a release to release category envs -${{ github.event.issue.number }}-requested by-${{ github.event.issue.user.login }}'
on:
issues:
types: [ opened , reopened]
jobs:
execute-release-issue-release-envs:
name: 'Act on sfops release issue'
uses: <your-org-name>/sfops-gh-actions/.github/workflows/exec-release-to-release-envs.yml@main
with:
issue-number: ${{ github.event.issue.number}}
issue-body: ${{ github.event.issue.body }}
issue-title: ${{ github.event.issue.title }}
sfopsbot-app-id: ${{ vars.SFOPSBOT_APP_ID }}
source-repo-url: https://github.com/${{github.repository}}
workitem-url: ${{ vars.SFOPS_ISSUETRACKER_URL }}
metrics-provider: ${{ vars.SFOPS_METRICS_PROVIDER }}
dashboard-repo: ${{ vars.SFOPS_DASHBOARD_REPO }}
issue-notifier: ${{ github.repository }}
secrets:
DEVHUB_SFDX_AUTH_URL: ${{ secrets.DEVHUB_SFDX_AUTH_URL }}
SB_SFDX_AUTH_URL: ${{ secrets.SB_SFDX_AUTH_URL }}
DATADOG_API_KEY: ${{ secrets.DATADOG_API_KEY }}
DATADOG_HOST: ${{ secrets.DATADOG_HOST }}
SFOPSBOT_APP_PRIVATE_KEY: ${{ secrets.SFOPSBOT_APP_PRIVATE_KEY }}
NPM_TOKEN: ${{ secrets.GITHUB_TOKEN }}