Skip to content

Repository files navigation

validate-credentials

Action for validate credentials for GitHub / Telegram account

Usage

Action has input parameters:

  • github_token
  • telegram_token and telegram_chat_id

Example: validate GitHub token

.github/workflows/credentials.yaml

name: Validate credentialson:
workflow_dispatch:
schedule:
- cron: '00 16 */2 * *'jobs:
sync:
runs-on: ubuntu-lateststeps:
- name: Validateuses: ci-space/validate-credentials@masterwith:
github_token: ${{ secrets.DEP_TOKEN }}

Example: validate Telegram token

.github/workflows/credentials.yaml

name: Validate credentialson:
workflow_dispatch:
schedule:
- cron: '00 16 */2 * *'jobs:
sync:
runs-on: ubuntu-lateststeps:
- name: Validateuses: ci-space/validate-credentials@masterwith:
telegram_token: ${{ secrets.TELEGRAM_RELEASES_TOKEN }}telegram_chat_id: ${{ secrets.TELEGRAM_RELEASES_CHAT_ID }}

About

Action for validate credentials for GitHub / Telegram account

Topics

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages