diff --git a/.github/labeler.yml b/.github/labeler.yml index 6289933e..4569b1f0 100644 --- a/.github/labeler.yml +++ b/.github/labeler.yml @@ -1,2 +1,4 @@ automerge: - '**/**' +- any: ['**/**'] + all: ['!.github/**', '!README.md', '!LICENSE'] diff --git a/.github/workflows/automerge.yml b/.github/workflows/automerge.yml index 061da402..3f193413 100644 --- a/.github/workflows/automerge.yml +++ b/.github/workflows/automerge.yml @@ -20,9 +20,12 @@ on: jobs: automerge: runs-on: ubuntu-latest + permissions: + contents: write + pull-requests: write steps: - name: automerge - uses: "pascalgn/automerge-action@v0.15.5" + uses: pascalgn/automerge-action@v0.15.6 env: GITHUB_TOKEN: "${{ secrets.GITHUB_TOKEN }}" MERGE_LABELS: "automerge" diff --git a/.github/workflows/label.yml b/.github/workflows/label.yml index 0e75888d..3a59e4f1 100644 --- a/.github/workflows/label.yml +++ b/.github/workflows/label.yml @@ -5,6 +5,9 @@ on: jobs: label: runs-on: ubuntu-latest + permissions: + contents: read + pull-requests: write steps: - uses: actions/labeler@v4 with: diff --git a/Users_files/test_pr_BertaFraga b/Users_files/test_pr_BertaFraga new file mode 100644 index 00000000..8b137891 --- /dev/null +++ b/Users_files/test_pr_BertaFraga @@ -0,0 +1 @@ + diff --git a/Users_files/test_pr_fabriceA.txt b/Users_files/test_pr_fabriceA.txt new file mode 100644 index 00000000..6ef6bb25 --- /dev/null +++ b/Users_files/test_pr_fabriceA.txt @@ -0,0 +1 @@ +Fabrice A. \ No newline at end of file diff --git a/hello.txt b/hello.txt new file mode 100644 index 00000000..cca6bfe6 --- /dev/null +++ b/hello.txt @@ -0,0 +1,2 @@ +Test Pull + diff --git a/test_pr_mohammed.txt b/test_pr_mohammed.txt new file mode 100644 index 00000000..5e1c309d --- /dev/null +++ b/test_pr_mohammed.txt @@ -0,0 +1 @@ +Hello World \ No newline at end of file