From 9324b970b1ad491251a315bbbaac4fc33412f6dc Mon Sep 17 00:00:00 2001 From: Dusch4593 Date: Mon, 29 Apr 2024 09:42:28 -0400 Subject: [PATCH] initial commit --- .github/workflows/merge.yml | 26 ++++++++++++++++++++++++++ 1 file changed, 26 insertions(+) create mode 100644 .github/workflows/merge.yml diff --git a/.github/workflows/merge.yml b/.github/workflows/merge.yml new file mode 100644 index 0000000..1fcf49e --- /dev/null +++ b/.github/workflows/merge.yml @@ -0,0 +1,26 @@ +name: Check for Stopwords + +on: + pull_request: + types: [opened] + +jobs: + check-stopwords: + runs-on: ubuntu-latest + + steps: + - name: Checkout code + uses: actions/checkout@v2 + + - name: Set up Python + uses: actions/setup-python@v2 + with: + python-version: '3.x' + + - name: Install dependencies + run: pip install -r requirements.txt + + - name: Run script to check for stopwords + run: python check_stopwords.py ${{ github.event.pull_request.number }} + env: + GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}