From 9c820d20245942df71f8d371044ce094d35db58d Mon Sep 17 00:00:00 2001 From: as-iotex <82106612+as-iotex@users.noreply.github.com> Date: Sat, 1 Jul 2023 16:38:52 +0100 Subject: [PATCH 1/2] good change --- tests/test_psa_cipher_update.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/test_psa_cipher_update.cpp b/tests/test_psa_cipher_update.cpp index 23d5751..72f636b 100644 --- a/tests/test_psa_cipher_update.cpp +++ b/tests/test_psa_cipher_update.cpp @@ -38,11 +38,11 @@ class PsaCipherUpdate : public ::testing::Test TEST_F(PsaCipherUpdate, NullInputArgument) { - uint8_t input[16] = {0}; + uint8_t inputs[16] = {0}; uint8_t output[16] = {0}; size_t output_length = 0; psa_status_t status = - psa_cipher_update(&operation, NULL, sizeof(input), output, 16, &output_length); + psa_cipher_update(&operation, NULL, sizeof(inputs), output, 16, &output_length); EXPECT_EQ(status, PSA_ERROR_INVALID_ARGUMENT); } From d1fc147322ad25b16871c193726358de32699f79 Mon Sep 17 00:00:00 2001 From: as-iotex <82106612+as-iotex@users.noreply.github.com> Date: Sun, 2 Jul 2023 15:02:50 +0100 Subject: [PATCH 2/2] semantic pr --- .github/workflows/pr.yaml | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 .github/workflows/pr.yaml diff --git a/.github/workflows/pr.yaml b/.github/workflows/pr.yaml new file mode 100644 index 0000000..f753e56 --- /dev/null +++ b/.github/workflows/pr.yaml @@ -0,0 +1,15 @@ +name: "Lint PR" + +permissions: + pull-requests: write + +jobs: + main: + name: Validate PR title + runs-on: ubuntu-latest + steps: + - uses: amannn/action-semantic-pull-request@v5 + env: + GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} + with: + wip: true \ No newline at end of file