https://github.com/ci-space/validate-credentials
Action for validate credentials for GitHub / Telegram account
https://github.com/ci-space/validate-credentials
continuous-integration github-actions go
Last synced: 5 months ago
JSON representation
Action for validate credentials for GitHub / Telegram account
- Host: GitHub
- URL: https://github.com/ci-space/validate-credentials
- Owner: ci-space
- License: mit
- Created: 2025-06-23T08:06:54.000Z (about 1 year ago)
- Default Branch: master
- Last Pushed: 2025-06-23T18:20:44.000Z (12 months ago)
- Last Synced: 2025-07-04T10:04:02.986Z (12 months ago)
- Topics: continuous-integration, github-actions, go
- Language: Go
- Homepage:
- Size: 13.7 KB
- Stars: 0
- Watchers: 0
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# 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
```yaml
name: Validate credentials
on:
workflow_dispatch:
schedule:
- cron: '00 16 */2 * *'
jobs:
sync:
runs-on: ubuntu-latest
steps:
- name: Validate
uses: ci-space/validate-credentials@master
with:
github_token: ${{ secrets.DEP_TOKEN }}
```
### Example: validate Telegram token
.github/workflows/credentials.yaml
```yaml
name: Validate credentials
on:
workflow_dispatch:
schedule:
- cron: '00 16 */2 * *'
jobs:
sync:
runs-on: ubuntu-latest
steps:
- name: Validate
uses: ci-space/validate-credentials@master
with:
telegram_token: ${{ secrets.TELEGRAM_RELEASES_TOKEN }}
telegram_chat_id: ${{ secrets.TELEGRAM_RELEASES_CHAT_ID }}
```