Changeset 61286
- Timestamp:
- 11/24/2025 05:41:12 PM (31 hours ago)
- File:
-
- 1 edited
- trunk/Gruntfile.js (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/Gruntfile.js
r61194 r61286 60 60 ], 61 61 62 // All workflow files that should be deleted from non-default branches. 63 workflowFiles = [ 64 // Reusable workflows should be called from `trunk` within branches. 65 '.github/workflows/reusable-*.yml', 66 // These workflows are only intended to run from `trunk`. 67 '.github/workflows/commit-built-file-changes.yml', 68 '.github/workflows/failed-workflow.yml', 69 '.github/workflows/install-testing.yml', 70 '.github/workflows/test-and-zip-default-themes.yml', 71 '.github/workflows/install-testing.yml', 72 '.github/workflows/slack-notifications.yml', 73 '.github/workflows/test-coverage.yml', 74 '.github/workflows/test-old-branches.yml', 75 '.github/workflows/upgrade-testing.yml' 76 ], 77 62 78 // Prepend `dir` to `file`, and keep `!` in place. 63 79 setFilePath = function( dir, file ) { … … 217 233 src: [] 218 234 }, 219 qunit: ['tests/qunit/compiled.html'] 235 qunit: ['tests/qunit/compiled.html'], 236 237 // This is only meant to run within a numbered branch after branching has occurred. 238 workflows: { 239 filter: function() { 240 var allowedTasks = [ 'post-branching', 'clean:workflows' ]; 241 return allowedTasks.some( function( task ) { 242 return grunt.cli.tasks.indexOf( task ) !== -1; 243 } ); 244 }, 245 src: workflowFiles 246 }, 220 247 }, 221 248 file_append: { … … 1709 1736 ]); 1710 1737 1738 grunt.registerTask( 'post-branching', [ 1739 'clean:workflows', 1740 'replace:workflow-references-local-to-remote' 1741 ]); 1742 1711 1743 /** 1712 1744 * Build verification tasks.
Note: See TracChangeset for help on using the changeset viewer.