diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index a146d15a8d5..3a3b31c4f4b 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -9,6 +9,8 @@ env: jobs: test: runs-on: ubuntu-latest + permissions: + pull-requests: write steps: - uses: actions/checkout@v2 - uses: actions/setup-node@v1 diff --git a/.github/workflows/comment.yml b/.github/workflows/comment.yml new file mode 100644 index 00000000000..dcf827de961 --- /dev/null +++ b/.github/workflows/comment.yml @@ -0,0 +1,17 @@ +on: + pull_request_target: +env: + NODE_VERSION: "18" +jobs: + test: + runs-on: ubuntu-latest + permissions: + pull-requests: write + steps: + - uses: mshick/add-pr-comment@v2 + if: always() + with: + message: | + **Hello** + 🌏 + ! \ No newline at end of file diff --git a/core/modules/filters/tag.js b/core/modules/filters/tag.js index 951a28c6bdd..ea0c8cb90cc 100644 --- a/core/modules/filters/tag.js +++ b/core/modules/filters/tag.js @@ -52,7 +52,7 @@ exports.tag = function(source,operator,options) { } } } - return results; + return $tw.browser ? results.reverse() : results; }; })();