[WFLY-19954] Add the wildfly-vertx-feature-pack to WildFly Preview #228
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: Check Proposals | |
on: | |
pull_request_target: | |
jobs: | |
check-proposals: | |
runs-on: ubuntu-latest | |
permissions: | |
contents: read # to download a workflow artifact | |
pull-requests: write | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v4 | |
with: | |
ref: "refs/pull/${{ github.event.number }}/merge" | |
- name: Setup Ruby | |
uses: ruby/setup-ruby@v1 | |
with: | |
ruby-version: "3.2" | |
bundler-cache: true # runs 'bundle install' and caches installed gems automatically | |
cache-version: 0 # Increment this number if you need to re-download cached gems | |
- name: Get all proposals files that have changed | |
id: changed-proposals | |
uses: tj-actions/changed-files@v44 | |
with: | |
files: | | |
**/*.adoc | |
files_ignore: | | |
_*/** | |
index.adoc | |
design-doc-template.adoc | |
- name: Check files that have changed | |
if: steps.changed-proposals.outputs.any_changed == 'true' | |
env: | |
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
PROPOSAL_FILES: ${{ steps.changed-proposals.outputs.all_changed_files }} | |
PR_NUMBER: ${{ github.event.number }} | |
run: | | |
echo "Check all proposals files that have changed: $PROPOSAL_FILES" | |
./.scripts/check_proposals $PR_NUMBER $PROPOSAL_FILES |