command
module
Version:
v1.0.4
Opens a new window with list of versions in this module.
Published: Mar 22, 2023
License: Apache-2.0
Opens a new window with license information.
Imports: 6
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
README
¶
Update Slack Info - GitHub Action
A GitHub Action to update the Slack Information.
Usage
You can use this action after any other action. Here is an example setup of this action:
- Create a
.github/workflows/update-slack-info.yml
file in your GitHub repo.
- Add the following code to the
update-slack-info.yml
file.
on: push
name: Update Slack Info Demo
jobs:
slackNotification:
name: Update Slack Info
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Update Slack Info
uses: giantswarm/update-slack-info@v2
with:
filepath: './squads.yaml'
env:
SLACK_TOKEN: ${{ secrets.SLACK_TOKEN }}
- Create
SLACK_TOKEN
secret using GitHub Action's Secret. You can generate a Slack token from here. Taking into account it needs these scopes usergroups:read
, usergroups:write
, users:read
and users:read.email
.
Documentation
¶
There is no documentation for this package.
Source Files
¶
Click to show internal directories.
Click to hide internal directories.