diff --git a/.github/workflows/update-submodules.yml b/.github/workflows/update-submodules.yml index 1da6a1a..ac7b96a 100644 --- a/.github/workflows/update-submodules.yml +++ b/.github/workflows/update-submodules.yml @@ -8,6 +8,10 @@ on: - cron: '0 0 * * *' # Ejecutar diariamente a medianoche workflow_dispatch: # Permitir ejecuciĆ³n manual +permissions: + contents: write # Necesario para hacer push en el repositorio + pull-requests: write # Necesario para manipular pull requests + jobs: update-submodules: runs-on: ubuntu-latest @@ -16,7 +20,6 @@ jobs: uses: actions/checkout@v4 with: submodules: true - token: ${{ secrets.GITHUB_TOKEN }} - name: Update submodules run: | @@ -58,3 +61,4 @@ jobs: base: main delete-branch: true body: "This PR updates the submodules to their latest commits." +