Skip to content

Commit

Permalink
🍒 Merge changes from PR #247 to release-v1.6.0 (#249)
Browse files Browse the repository at this point in the history
Co-authored-by: Riku Rouvila <[email protected]>
  • Loading branch information
github-actions[bot] and rikukissa committed Aug 26, 2024
1 parent 2e55820 commit e586522
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 2 deletions.
11 changes: 11 additions & 0 deletions .github/workflows/get-secret-from-environment.yml
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,17 @@ jobs:
exit 1
fi
- name: Verify GitHub token validity
id: verify-token
run: |
RESPONSE=$(curl -s -o /dev/null -w "%{http_code}" -H "Authorization: Bearer ${{ secrets.gh_token }}" \
"https://api.github.com/user")
if [ "$RESPONSE" -ne 200 ]; then
echo "Invalid or expired GitHub token."
exit 1
fi
echo "GitHub token is valid."
- name: Check if environment exists
id: check-env
run: |
Expand Down
3 changes: 1 addition & 2 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,7 @@
### Bug fixes

- Kibana disk space alerts now work regardless of your disk device names. Alerts listen devices mounted both to `/` and `/data` (encrypted data partition)

## 1.5.0
- Environment creator script now requires countries to provide a Github token with no expiry date. This is to reduce effort in keeping the token up to date.

### Breaking changes

Expand Down

0 comments on commit e586522

Please sign in to comment.