diff --git a/.github/workflows/dco-check.yml b/.github/workflows/dco-check.yml deleted file mode 100644 index ea8d8be..0000000 --- a/.github/workflows/dco-check.yml +++ /dev/null @@ -1,30 +0,0 @@ -name: DCO Check - -on: - pull_request: - types: - - opened - - synchronize - - reopened - - labeled - -jobs: - dco-check: - runs-on: ubuntu-latest - - steps: - - name: Checkout code - uses: actions/checkout@v2 - - - name: Set up Git - run: git config --global user.email "actions@github.com" && git config --global user.name "GitHub Actions" - - - name: Check DCO - run: | - DCO_CHECK_RESULT=$(git log --format=%b ${{ github.event.before }}..${{ github.sha }} | grep -E -i '^(Signed-off-by|Co-authored-by):') - if [ -z "$DCO_CHECK_RESULT" ]; then - echo "DCO check failed. Every commit must be signed off." - exit 1 - else - echo "DCO check passed. Every commit has been signed off." - fi diff --git a/Lets-Learn-Golang/16methods/go.mod b/Lets-Learn-Golang/16methods/go.mod deleted file mode 100644 index 9bde68f..0000000 --- a/Lets-Learn-Golang/16methods/go.mod +++ /dev/null @@ -1,3 +0,0 @@ -module 16methods - -go 1.21.0