GitHub Actions to notify actions usage to Slack.
![image](https://private-user-images.githubusercontent.com/583917/341956276-3b10d688-7539-432b-b731-0c906e75798a.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MjQzNzg2MTIsIm5iZiI6MTcyNDM3ODMxMiwicGF0aCI6Ii81ODM5MTcvMzQxOTU2Mjc2LTNiMTBkNjg4LTc1MzktNDMyYi1iNzMxLTBjOTA2ZTc1Nzk4YS5wbmc_WC1BbXotQWxnb3JpdGhtPUFXUzQtSE1BQy1TSEEyNTYmWC1BbXotQ3JlZGVudGlhbD1BS0lBVkNPRFlMU0E1M1BRSzRaQSUyRjIwMjQwODIzJTJGdXMtZWFzdC0xJTJGczMlMkZhd3M0X3JlcXVlc3QmWC1BbXotRGF0ZT0yMDI0MDgyM1QwMTU4MzJaJlgtQW16LUV4cGlyZXM9MzAwJlgtQW16LVNpZ25hdHVyZT1kY2U4M2Q0ZjBjN2M3YWQwYjM1NWUwY2U0MTc5NWRjMGI1NDk0MTZiY2IzYmY3OWUzY2FkZmRlOTJlYWFmMzAxJlgtQW16LVNpZ25lZEhlYWRlcnM9aG9zdCZhY3Rvcl9pZD0wJmtleV9pZD0wJnJlcG9faWQ9MCJ9.Lp3FaqyzCOPzxcNx2wrh3fghqm8y096J0_MxFb96ccw)
- Fork this repository
- Create fine grained token to access billing
- https://docs.github.com/en/authentication/keeping-your-account-and-data-secure/managing-your-personal-access-tokens#creating-a-fine-grained-personal-access-token
- Read access to plan in User permissions for user
- Read access to organization administration in Organization permissions for organization
- "Enterprise administration" business permissions (write) for enterprise
- Create slack incomming webhook url
- Add
ACCOUNT_NAME
in variables, set user name, organization name or enterprise name - Add secrets
GH_TOKEN
SLACK_WEBHOOK_URL
in secrets
- Click Actions tab, enable workflows
- Select the workflow you wish to use and enable it