Skip to content

Commit

Permalink
Merge pull request #492 from NikitaSkrynnik/fix-reusable-workflows
Browse files Browse the repository at this point in the history
Fix reusable workflows
  • Loading branch information
denis-tingaikin authored Jun 16, 2022
2 parents d646633 + d449eba commit 8e32a3b
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 4 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: hmarr/debug-action@v2

get-tag:
name: Get tag
runs-on: ubuntu-latest
Expand All @@ -25,7 +25,7 @@ jobs:
branch=${{github.event.workflow_run.head_branch}}
echo '::set-output name=tag::'${branch#release/}
id: get-tag-step

create-release:
name: Create release
needs: get-tag
Expand All @@ -43,4 +43,4 @@ jobs:
tag: ${{ needs.get-tag.outputs.tag }}
dependent_repositories: '["sdk-vpp", "sdk-sriov"]'
secrets:
token: ${{ secrets.NSM_BOT_GITHUB_TOKEN }}
token: ${{ secrets.NSM_BOT_GITHUB_TOKEN }}
5 changes: 4 additions & 1 deletion pkg/kernel/tools/nshandle/ns_handle_linux_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,9 @@
// See the License for the specific language governing permissions and
// limitations under the License.

//go:build perm
// +build perm

package nshandle_test

import (
Expand All @@ -36,7 +39,7 @@ const (
notEqualFormat = "Should not be: %#v\n"
)

func TestNSHandle_RunIn(t *testing.T) {
func TestNSHandle_RunInPerm(t *testing.T) {
goleak.VerifyNone(t)

current, currErr := nshandle.Current()
Expand Down

0 comments on commit 8e32a3b

Please sign in to comment.