Skip to content
This repository has been archived by the owner on Jan 29, 2024. It is now read-only.

Commit

Permalink
remove optional github token (#135)
Browse files Browse the repository at this point in the history
* chore: removed optional github token

* removed optional null
  • Loading branch information
marco-ippolito committed Sep 9, 2022
1 parent 1575877 commit cf127be
Showing 1 changed file with 7 additions and 12 deletions.
19 changes: 7 additions & 12 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -1,11 +1,9 @@
name: Continuous Integration

on:
push:
branches:
- master
pull_request:

jobs:
test:
name: Lint and test
Expand All @@ -14,19 +12,18 @@ jobs:
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
with:
node-version-file: '.nvmrc'
node-version-file: .nvmrc
- run: npm i
- run: npm run lint
- name: Test
env:
SLACK_TOKEN: ${{ secrets.DEV_SLACK_TOKEN }}
SLACK_SIGNING_SECRET: ${{ secrets.DEV_SLACK_SIGNING_SECRET }}
SLACK_CHANNEL: ${{ secrets.DEV_SLACK_CHANNEL }}
ORG_WEBHOOK_SECRET: ${{ secrets.ORG_WEBHOOK_SECRET }}
ORG_PRIVATE_KEY: ${{ secrets.ORG_PRIVATE_KEY }}
ORG_APP_ID: ${{ secrets.ORG_APP_ID }}
SLACK_TOKEN: ${{ secrets.DEV_SLACK_TOKEN }}
SLACK_SIGNING_SECRET: ${{ secrets.DEV_SLACK_SIGNING_SECRET }}
SLACK_CHANNEL: ${{ secrets.DEV_SLACK_CHANNEL }}
ORG_WEBHOOK_SECRET: ${{ secrets.ORG_WEBHOOK_SECRET }}
ORG_PRIVATE_KEY: ${{ secrets.ORG_PRIVATE_KEY }}
ORG_APP_ID: ${{ secrets.ORG_APP_ID }}
run: npm test

automerge:
name: Merge dependabot's PRs
needs: test
Expand All @@ -36,5 +33,3 @@ jobs:
contents: write
steps:
- uses: fastify/github-action-merge-dependabot@v3
with:
github-token: ${{ secrets.github_token }}

0 comments on commit cf127be

Please sign in to comment.