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
          echp ${{ env.REPO_NAME }}

If found this working Solution on StackOverflow [1]