GitHub Actions doesn’t recognize newly created environment after repository structure change
I'm reviewing some code and I just started working with I recently restructured my GitHub repository and moved my workflow files from the `.github/workflows` directory to a new folder called `.github/actions`. After making this change, I noticed that my GitHub Actions are no longer able to find or trigger the workflows. The action that I am trying to run is configured to depend on a specific environment variable that I have set up in the repository settings. However, when I push to the main branch, the workflows aren't triggering and I'm not receiving any behavior messages in the Actions tab. Here’s what my workflow YAML file looks like after the change: ```yaml name: CI on: push: branches: - main jobs: build: runs-on: ubuntu-latest steps: - name: Checkout uses: actions/checkout@v2 - name: Build run: echo "Building the project..." - name: Deploy run: echo "Deploying to production..." env: MY_SECRET: ${{ secrets.MY_SECRET }} ``` I've double-checked the name of my workflow file and ensured the filename ends with `.yml`. I also reverted the folder structure back to `.github/workflows` temporarily, and the workflows triggered correctly again. Is there a specific way I should structure these actions or set them up in the new folder location? I’d like to keep my repository organized but I need the workflows to work as well. This is my first time working with Yaml 3.10. I'd be grateful for any help. Has anyone dealt with something similar?