Skip to content

Add config files and FOSUserBundlebundle entries to common.txt dict as well as new API objects #96

Add config files and FOSUserBundlebundle entries to common.txt dict as well as new API objects

Add config files and FOSUserBundlebundle entries to common.txt dict as well as new API objects #96

# Validate that no entry start with a "/" for every modified or added files.
# Sources:
# https://dev.to/scienta/get-changed-files-in-github-actions-1p36
# https://docs.github.com/en/actions/using-workflows/workflow-commands-for-github-actions
# https://github.com/marketplace/actions/changed-files
name: Wordlist Validator - Verify if any file entry start with a slash
on:
push:
paths:
- "**.txt"
pull_request:
paths:
- "**.txt"
workflow_dispatch:
jobs:
check_files_changed:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
with:
fetch-depth: 0
- name: Get changed files
id: changed-files
with:
files: "**/*.txt"
uses: tj-actions/changed-files@v34
- name: Analyze all added or modified files
run: |
chmod +x ./.bin/check-file-for-starting-slash
./.bin/check-file-for-starting-slash "${{ steps.changed-files.outputs.all_changed_files }}"