Skip to content

feat: support for showing the changelog #165

feat: support for showing the changelog

feat: support for showing the changelog #165

Workflow file for this run

name: Validate Policies
on:
workflow_dispatch:
pull_request:
branches: [main]
push:
branches: [main]
schedule:
# * is a special character in YAML so you have to quote this string
# Run at 12:00 on Friday.”
- cron: '0 12 * * 5'
jobs:
validate:
runs-on: ubuntu-latest
permissions:
contents: read
steps:
- name: Checkout repository
uses: actions/checkout@v4
- name: Setup updatecli
uses: updatecli/updatecli-action@v2
- name: Setup releasepost
uses: updatecli/[email protected]
- name: Validate
run: make test
- uses: tibdex/[email protected]
# Only run e2e tests from the main branch as we need some credentials
# that we don't want to risk leaking from pullrequest opened by random contributors
if: github.ref == 'refs/heads/main'
id: generate_testing_token
with:
app_id: ${{ secrets.UPDATECLIBOT_TESTING_APP_ID }}
private_key: ${{ secrets.UPDATECLIBOT_TESTING_APP_PRIVKEY }}
- name: e2e tests
# Only run e2e tests from the main branch as we need some credentials
# that we don't want to risk leaking from pullrequest opened by random contributors
if: github.ref == 'refs/heads/main'
run: make e2e-test
env:
GITHUB_TOKEN: ${{ steps.generate_testing_token.outputs.token }}
RELEASEPOST_GITHUB_TOKEN: ${{ steps.generate_testing_token.outputs.token }}