From 0a5b53130151ccd070bedeb139d0211124dc02e7 Mon Sep 17 00:00:00 2001 From: Yasser Tahiri Date: Sun, 21 Apr 2024 05:00:19 +0100 Subject: [PATCH] Remove latest-changes workflow --- .github/workflows/latest-changes.yml | 50 ---------------------------- 1 file changed, 50 deletions(-) delete mode 100644 .github/workflows/latest-changes.yml diff --git a/.github/workflows/latest-changes.yml b/.github/workflows/latest-changes.yml deleted file mode 100644 index 9f7c3083..00000000 --- a/.github/workflows/latest-changes.yml +++ /dev/null @@ -1,50 +0,0 @@ -# Use the latest-changes action to generate a HISTORY.md file with the latest changes. - -# Thanks to @tiangolo for the original action, [see here](https://github.com/tiangolo/fastapi/blob/master/.github/workflows/latest-changes.yml). - - -name: Latest Changes - -on: - pull_request_target: - branches: - - main - types: - - closed - workflow_dispatch: - inputs: - number: - description: PR number - required: true - debug_enabled: - description: 'Run the build with tmate debugging enabled (https://github.com/marketplace/actions/debugging-with-tmate)' - required: false - default: 'false' - -jobs: - latest-changes: - runs-on: ubuntu-latest - steps: - - name: Dump GitHub context - env: - GITHUB_CONTEXT: ${{ toJson(github) }} - run: echo "$GITHUB_CONTEXT" - - uses: actions/checkout@v4 - with: - # To allow latest-changes to commit to the main branch - token: ${{ secrets.GITHUB_TOKEN }} - # Allow debugging with tmate - - name: Setup tmate session - uses: mxschmitt/action-tmate@v3 - if: ${{ github.event_name == 'workflow_dispatch' && github.event.inputs.debug_enabled == 'true' }} - with: - limit-access-to-actor: true - - uses: docker://tiangolo/latest-changes:0.3.0 - # - uses: tiangolo/latest-changes@main - with: - token: ${{ secrets.GITHUB_TOKEN }} - latest_changes_file: HISTORY.md - latest_changes_header: '## Latest Changes' - end_regex: '^## ' - debug_logs: true - label_header_prefix: '### '