github action Repository basename

#Github #actions help you to #automate Processes (CI/CD).

In my Example I need the #Basename of a #Repository.

As you know, actions are saved in your Repository under the Path: .github/workflows/workflow.yaml

        #get Repository basename, use with ${{ env.REPO_NAME }}
      - name: get Repository name
        run: |
          echo "REPO_NAME=$(basename ${{ github.repository }})" >> $GITHUB_ENV


        # echo target repository basename
      - name: fetch translations
        run: 
          echp ${{ env.REPO_NAME }}

If found this working Solution on StackOverflow [1]

[1] https://stackoverflow.com/a/71799882