Skip to content

Merge pull request #4 from afresh-technologies/dependabot/npm_and_yar… #7

Merge pull request #4 from afresh-technologies/dependabot/npm_and_yar…

Merge pull request #4 from afresh-technologies/dependabot/npm_and_yar… #7

name: Test slack-approval
on:
push:
branches:
- main
pull_request:
types:
- opened
- synchronize
- reopened
jobs:
approval:
runs-on: ubuntu-latest
environment: production
steps:
- name: Checkout
uses: actions/checkout@v3
with:
fetch-depth: 0
- run: |
npm install
- name: slack-approval
uses: ./
env:
SLACK_APP_TOKEN: ${{ secrets.SLACK_APP_TOKEN }}
SLACK_BOT_TOKEN: ${{ secrets.SLACK_BOT_TOKEN }}
SLACK_SIGNING_SECRET: ${{ secrets.SLACK_SIGNING_SECRET }}
SLACK_CHANNEL_ID: ${{ secrets.SLACK_CHANNEL_ID }}
ENVIRONMENT: "production"
URL: "https://khimanand.com.np"
timeout-minutes: 10
approval-2nd-on:
runs-on: ubuntu-latest
environment: production
steps:
- name: Checkout
uses: actions/checkout@v3
with:
fetch-depth: 0
- run: |
npm install
- name: slack-approval
uses: ./
env:
SLACK_APP_TOKEN: ${{ secrets.SLACK_APP_TOKEN }}
SLACK_BOT_TOKEN: ${{ secrets.SLACK_BOT_TOKEN }}
SLACK_SIGNING_SECRET: ${{ secrets.SLACK_SIGNING_SECRET }}
SLACK_CHANNEL_ID: ${{ secrets.SLACK_CHANNEL_ID }}
ENVIRONMENT: "production"
URL: "https://khimananda.com.np"
timeout-minutes: 10