Merge pull request #2898 from Infisical/cli-ssh-agent #154
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Generate Changelog | |
permissions: | |
contents: write | |
on: | |
workflow_dispatch: | |
push: | |
tags: | |
- "infisical/v*.*.*-postgres" | |
jobs: | |
generate_changelog: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout code | |
uses: actions/checkout@v4 | |
with: | |
fetch-tags: true | |
fetch-depth: 0 | |
- name: Set up Python | |
uses: actions/setup-python@v5 | |
with: | |
python-version: "3.12.0" | |
- name: Install dependencies | |
run: | | |
python -m pip install --upgrade pip | |
pip install requests openai | |
- name: Generate Changelog and Post to Slack | |
id: gen-changelog | |
run: python .github/resources/changelog-generator.py | |
env: | |
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
OPENAI_API_KEY: ${{ secrets.OPENAI_API_KEY }} | |
SLACK_WEBHOOK_URL: ${{ secrets.SLACK_WEBHOOK_URL }} |